07-17-2013 04:13 AM
Hello All,
I am trying to generate a single square wave with my USB DAQ 6009. I am using "On demand"
signal type which is the only signal type not giving error. And I defined my square wave
conveniently with the built in function generator on simulated signals. My program runs OK
but I cannot read the wave form that I supposed to. Please see the attached pictures for my
program and how I connected the ports on the DAQ to read the generated signal back.
Any help would be appreciated. And if this is not practical with USB DAQ 6009, I am open to
hear any other option I have, like other affordable DAQ cards.
Thank you,
SC
07-17-2013 09:23 AM
You cannot use a waveform to generate an analog output. Since it is software timed, you must pass one point at a time. You will be Iimited to very low frequencies with considerable jitter have no idea how the evil dynamic data type acctually works in this case. You may be getting an error but your current program is ignoring whatever error you might be getting.
You can go to the products page to find a DAQ device that has hardware timed analog output. You have not provided any information at all to make a recomendation.
07-17-2013 04:25 PM
Hi Dennis,
I will drive a valve with the output signal and the range for the analog output should be in 0-10V range. I will need to send squance of square and/or triangle waves. Each wave is to have duration of about 0.3 s. Under these circumstances, what would be you recommendation for a DAQ to achieve the task?
And also, I did further search and found out this link: https://decibel.ni.com/content/docs/DOC-14687
Confirm you this link also says there is one data point at a time and you can set the sampling time to very low values, say 5ms and generate a function of your need. Does this make sense to you?
And if this is not a solution either, I would be very glad if you ca recommend me a DAQ with the most affordable price.
Please let me know.
Thanks,
SC
07-17-2013 05:53 PM
07-17-2013 06:54 PM
OK. So any recommendation on other DAQ devices?
I realized we do have ni pci mio 16xe 50 CB-68LP DAQ which is approaching to End Of Life if it hasn't already. Would I be able to do the same task with this device? I would be very glad if you can direct me to an example code also.
Thanks again,
SC
07-17-2013 08:12 PM
07-18-2013 03:04 PM
Yes, the computer recognized pci mio 16xe 50 but I don't know how to start with this one. Do you have any example or recommendation? Any link?
Thanks,
07-18-2013 03:25 PM