02-23-2006 05:49 PM
02-23-2006 05:49 PM
02-23-2006 06:06 PM
Hey,
You can do this in a couple of steps. The output of the "Simulate Signal" Express VI is a dynamic data type. From there, you can use the "convert from dynamic data type" VI to convert this into a 1D array of double precision numbers. From there, simply multiply the whole array by a scaling factor (ie. 127) to get an array of data with value sfrom -127 to 127. Finally, you can use the "To Byte Integer" VI to coerce each value in the array to an I8. I have attached a VI that does this. Let me know if you have any more questions and I hope this helps!
Regards,
David Hall | Applications Engineering | National Instruments
02-24-2006 05:21 PM
Thank you very much, but there is something missing, I need 1`s and 0`s in the output.
The PAM.vi, accepts an input of 1 `s and 0 `s.
Well, i have another problem, I bought a DAQ (PCI 6221), it only has 2 analog outputs, but i need 7. I am designing a circuit; i am using a demux. But if you have any suggestions (specially with thw software), that would be appreciated.
Greetings.
02-25-2006 03:52 PM
02-27-2006 03:10 PM
Please check out this post:
http://forums.ni.com/ni/board/message?board.id=170&message.id=169974