Jump to content

Johan Svensson

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by Johan Svensson

  1. 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

  2. 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

  3. 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

    post-6790-1163410706.jpg?width=400

    post-6790-1163410716.jpg?width=400

  4. 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.

    post-6790-1163145240.jpg?width=400

×
×
  • Create New...

Important Information

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