Dobbeljoe

Members
  • Posts

    20
  • Joined

  • Last visited

Everything posted by Dobbeljoe

  1. I measure two channels: Force and Displacement. I calculate and record the maximum value of force during the measurement. Now I would like to know the corresponding value of the displacement when the force is at the maximum.
  2. I want to change the file name on a daily basis, using the date in the name, very much like example 9.10.6 in the DF User Guide. Based on the example I created the document as attached. The data is logged into the first file that I manually created in the logging set. At midnight the logging stopped because there was no file created in with the 'correct' name. The new logging file (with the correct name/date) appears in the Logging set. But the data file is not saved. You have to do this manually using the 'Browse' and then 'Save' button. Then (I think) you have to stop and start the logging set in order to start the actual logging. According the example this should run fully automatically, so what is my mistake here? Klimaat laboratorium Daily Logging with wait until.ctl
  3. Thanks for the fast reply. The sequence is now running without error messages. Following the description in chapter 10.5.7 I have created a channel, I/O type Timer, channel # 0. It really cannot get simpler than this but somehow I cannot get the pulse count on the screen. I added the document for you to check where I wrong. Buigbank alleen encoder v1.ctl
  4. I have an absolute wire encoder that I want to connect to a U6 Pro Labjack (ID 6) in combination with DaqFactory. Channel A is connected to FIO0 and channel B to FIO1. The encoder works OK with the LJ Control Panel. The counts go up and down when I move the wire up and down. In Daqfactory I cannot get it to work. I created a sequence that (I think) is a copy of the Quadrature example in the Application Guide. However, I get an error message C1000 as shown in the attachment. What do I miss?
  5. Dear Guru, Based on your quick reply (as usual) I created a basic try-out version as attached. Unfortunately I miss something since it does not work as expected. Can you please have a look? Conditional conversion TRYOUT v1.ctl
  6. After calibrating a displacement sensor it shows that the best results are obtained when splitting the range of the sensor in two parts (range A and range B). In range A, conversion A is the best, in range B, conversion B gives the best results. How can I use two different conversions, based on a button with which I select the range taht I use.
  7. Hello Guru, This is very useful and works fine. Suppose that I want to use a test timer that can show the test time in hours, minutes and seconds, but with the possibility to show the hours up to a large number (e.g. 1000 hours). How could this be achieved?
  8. Dear, I have a test set-up with 3 lasers to measure the distance between the lasers and an object. I want to measure the actual distance and also the change of distance over time. Therefore I want to zero the data of all three lasers. I use 'zeroPoint' for this. I would expect that I can create three 'zeroPoints' (e.g. 1,2 and 3), one for each laser. But it seems that I can use only one 'zeroPoint', meaning that the same value is subtracted from the data of all three lasers. How can I set the zero for each individual laser? Below is a screenshot of the page that is relevant (page 2). I also attached the prototype of the DF application so it is hopefully more obvious what I am trying to explain here. Laser Kruiptest English v5.ctl
  9. Thanks for the support. I tried out the example you sent me. I have connected my top sensor to FIO0 and my bottom sensor to FIO1. When an object passes the top sensor, the time display stays at 0 seconds, which is good because the timer should now start at the falling edge produced by the top sensor. When the object passes the bottom sensor, the display shows a very low value, even if the object (in this case my hand) passes the bottom sensor seconds after it passes the top sensor (see figure). In fact, even if my hand only passes the bottom sensor, a value is shown (again a very low value). In this case the timer should not be started at all. It seems that the timer is started by the bottom sensor (FIO1) and also stopped by the same sensor. It looks as if the time duration of the falling edge (from high to low) is measured and displayed.
  10. I have been experimenting with the Labjack U6. In the documents, the line-to-line measurement requires mode 14 for both timers. Unfortunately there are only 13 modes available in the mode menu of panel 'Configure Timers and Counters' of the U6 Test Panel. The line-to-line measurement mode seems to be missing.
  11. Thanks for the fast reply. I plan on using a Labjack U6. I am happy to read that it should be possible to measure such short intervals. I am going to try to follow the Labjack tutorials on this topic. At first glance it seems rather complicated. So far I have only limited experience with DaqFactory.
  12. I want to measure the speed of an object. The object passes two optical sensors, causing the output of the sensors go from high (~10 Volts) to low (~0 Volts) and back again. In order to measure the speed I would like to measure the time between the two respective falling edges of the signals coming from the two sensors. I want to start the measurement at the first falling edge and stop it at the second falling edge. In the worst case the time between the two edges is extremely short, i.e. some microseconds. I am thinking to measure/count the clock pulses between the two events, or perhaps count the number of data points, providing that I can measure and record at a very high sampling rate. Does anyone have an idea how to achieve this?
  13. Is it possible to automatically show the created DaqFactory pages on a screen, in other words to create a slide show of a selected set of pages with a selected time interval?
  14. On Page 1 of my application I have a table, a descriptive text and a button. This button is supposed to print the complete page. The action of the button (with the text 'PRINT') is set at 'Print Preview Page' with page 1 as input. When I push the button I get a page preview that shows only the descriptive text very, very small. The rest (table and button) are not visible at all. What do I do wrong?
  15. Hello Guru, It works. I have one new question, hopefully this is the last time I bother you. The program now works as required, meaning that when I push the button 'Take Sample' only one reading is captured. (this was not so well explained in my first message to you). At the moment my prototype looks as image 1. The software calculates the mean of 10 data captures using a (probably clumsy) expression as shown in image 2. This way, I am "stuck" to the number of 10 captured data points. I would like to improve this calculation such that the value shown in 'Mean' shows the running average. So if I capture just 1 data point it shows the mean of this 1 data point, if I capture 2 data points I get the mean of 2 data points and so forth. Is there a 'standard' expression/method for this?
  16. Hello Guru, Thanks again. When using this script the Windows Explorer screen appears (as expected) where I can fill in the file to save the data to (see first image) However, the data is not logged to the file I input here. Instead it still keeps on logging to the file that is present in the Logging screen (see second image). Can you please help me out once again?
  17. Wow, thanks for the fast reply! The software works fine. Just one more question about writing to file: I want to log the data to file. Right now I manually set a file name in the DAQFactory Logging page and then start the logging with a button. How can I get the software to ask for the name of the file where to log to before starting the logging?
  18. I get data in on an analogue channel. I would like to have a knob that sets the data to zero (i.e. remove offset) as long as the knob is active. Then I would need (say 10) single datapoints that are collected (and logged/stored/exported) whenever I push another knob. The datapoints should be shown in a table and finally the mean value of the collected datapoints should be shown. Has anyone some tips and hints on how to achieve this? I am completely new to DAQFactory (I did read the manual several times but not too successful until now)