06-06-2011 10:51 AM
I hope you can help me with this situation because I have been stoped in this situation for two days and I think that I won't see the light in the short time and the time is a scarce resource.
I want to use a NI DaqCard-AI-16XE-50 ( 20KS/s accordig to specifications). To acquired data in DasyLab I've been using OPC DA system but when I try get a chart from the signal I get awfull results.
I guess the origin of the problem is the PC is not powerfull to generate a chart in real time, so Is there a block to save the data, then graph the data without use "Write Data" Block to avoid write data to disk?
Another cause of the problem it could be an incorrect set value of Block size, but in my piont of view with the 10Khz, and 4096 of block size is more than neccesary to acquire a signal of 26[Hz] (showing in the photo). If I reduce the block size to 1 the signal showing in the graph is a constant of the first value acquire. Why could be this situation?
Thanks in advance for your answers,
Solved! Go to Solution.
06-06-2011 11:02 AM
You really don't want to use OPC DA for an installed device with hardware.OPC DA is designed for lower speed industrial devices, not for 20 kHz installed cards!
Re-run the DASYLab installer, and select the NI-DAQ driver, and de-select the NI-DAQmx driver.
You should then use the NI-DAQ Analog Input module to talk directly to the device. You'll get the full speed of the device, and the buffering is handled correctly.
I have this card somewhere in a box, and when I used it, it worked wonderfully with the NI-DAQ driver.
06-06-2011 11:10 AM
Thanks CJ. So I will do that and I will comment the results.
06-06-2011 11:35 AM
It's working. Thanks you a lot CJ. You resolved my drama.
06-06-2011 11:41 AM
I'm sorry that I did not see your first posting... I was on vacation for two weeks.
I'm glad that it's working. The NI-DAQ driver is quite nice for the devices that it supports.
10-27-2011 11:47 PM
Is there someone who can help me
I connect CN606TC2 and Dasylab 11... using the RS232 cable, and have done the instruction manual of the book cn606tc2.
In dasylab RS232 module, there is a box:
1). Measurement data request,
2). Measurement data format ...
what should I write in the box is so modules dasylab Digital meters can be read from CN606TC2.
To start communication, the Command Module must send alert code ASCII [L] hex 4C.
Commands requesting data from the scanner:(CN606TC2)
ASCII [A] hex 41 = Zones/ Alarms/ Scan time
ASCII [M] hex 4D = Model/ Password/ ID#/ # of zones
ASCII [S] hex 53 = Setpoints
ASCII [T] hex 54 = Temperature
I did not understand the program and the ASCII code.
I send [T] in the RS232 monitor and restore dasylab 54.
I am very grateful for your help
10-28-2011 07:45 AM
To send the Hex characters, use \xnn
such as \x02 or \x10
10-28-2011 10:37 PM
Thank you cj ... you have responded to me.
In the scanner reads the measurement results CN6060TC already 30 degrees ... what character should I fill in the box: measuring the requested data and measuring data formats ... so the module can dasylab Digital meter displays the measurement results of CN606TC2.
The requested boxed measurement data I input 54 \ xnn and data formats as input ah \ r. .. and I press RS232Monitor ... no value is read.
Scanner CN6060TC2 restore the data with the characters 35 34 to dasyalab RS232 Monitor
so also with 54 \ x02 and 54 \ x10 .... there is no value measurements from the scanner.
I desperately need your help