Jump to content

Johan Svensson

Members
  • Posts

    7
  • Joined

  • Last visited

Johan Svensson's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. New unprotected version above... It's just to make sure no changes are saved when clicking around between windows and VI's. (Are there a good way to make final locked version with LBV 8.20 Full dev. system) Well, I could use only one event struct. EDIT: Adding report file (can't add *.xls, so I made a *.pdf) Download File:post-6790-1163759046.pdf
  2. OK, very good help... Thanks! But I have troubles to get the event handler structures to work properly. It seems like they only "runs" just after the stop button is pushed. I have removed the timed loop, and local variables. The DAQmx read VI is set to read 10 samples at each loop iteration. The task is set to sample in continuous mode with a rate of 100 Hz and samples to read is set to 100. This do result in that 10 samples/sec in log file (it is sufficient for now). But why doesn't 100 samples get written to the log file? There is a 1 ms delay in each while loop. Download File:post-6790-1163758270.vi
  3. Ooops! Of course I don't need a timed loop... So now I have replaced it with a while loop. And it works fine! But I'll be glad to hear your opinion on my code
  4. OK, sorry about the late answer... I have listened to your advice and rebuilt my VI around a timed loop, but I'm not sure hot to config it correctly. http://forums.lavag.org/index.php?showtopic=4876 New sample rate requiremets: 100 Hz at maximum, pehaps lower... With the new solution I dont se any reason why there should be a limit in "log time" Am I right ???
  5. Hi, I have built a VI to log mechanical tensile tests. At first I used while loops to make the reading and appended all values to an array that is written to a text file when user push STOP. I realised that the array becomes very large very fast so I got the idea to use a timed loop that appends every value during operation, it will not fill up the memory as in the case above. But I don't really understand how the timed loop works, so please take a look at the VI and tell me how to config it. Download File:post-6790-1163664241.vi
  6. HI, I have here two alternatives to create a spreadsheet file of measurement values and report header. This will be used as a sub-vi that should run continuously for about an hour. alt1 - is using an array... wouldn't it nessesary to empety this now and then? alt2 - Better? safer (in terms of memory handling)? "sample rate": 1kHz "samples to read": 100
  7. Hi, I use a PCI-6221 DAQ, SC-2345 signal cond. box and one SCC-TC02 and one standard type K thermocouple. The result after each maesurment is -1908625864800603,25 ?? Without cjc-channel reading. Use a constant value. Notice that the program I use is the example (Acq thermocouple sample.vi ) in labview supplied by NI. I know that there is a thermistor inside SCC-TC02 for CJC, but at first I want to get it to return sensible values. This should be simple, but is not, I have been testing all I can think of, so please look at the pic and tell if anyting is wrong for my system... Anyone out there who had similar problems? When I use max to read volts from channel ai7 (wich refers to socket J8 in SC-2345, where SCC-TC02 och mounted) Max calibration tool shows -0,012 (temp probe free in the room temperature) and when I heat it up with my fingers 0,027. I have tried the same test for channel ai15 wich should return the temp value from cjc termistor inside SCC-TC02. It shows 1,5 at room temp.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.