05-05-2006 06:26 PM
05-07-2006 01:56 PM
Hi Andy
The target macnine is Windows 2000, and my development machine is WinXP.
The first build I tried prompted the RTE to be installed. I installed 7.1 from the cd. Still did not work. I looked up my machine and discovered that my DAQPAD disc must have upgraded it, so I downloaded v8 from ni.com and installed that on the target machine. No joy. I then ticked all the RTE boxes for the installer/builder and ran it again. Upon trying to install it again, I again discovered it didnt work successfully.
However the app appears and looks like it is running, yet the file values are not getting displayed on the limit test (I checked it was there and being actively created). Is there something I need to do to build in an express vi??
Rgds
Jared "ever puzzled"
05-08-2006 05:48 PM
05-09-2006 02:15 PM
05-10-2006 05:29 PM
09-12-2006 07:13 PM
Hi,
I have managed to get the communications over USB working - sort of. Allow me to explain.
I request a waveform databurst from our system. Our device then packages up the data and sends it in 64byte packets. The 512 bytes of actual data is split across multiple packets and each time the device sends USB data it generates an OnRead event from the OCX. The OnRead RegEventCallback and VI then runs sending the data out to the user parameter of the callback block.
Unfortunately my initial "its working" thought was proved wrong. I tried doing the reconstruction of the 512bytes of data from the packets inside the OnRead Event VI however this is not getting done fast enough and the various parts are being updated in a random way. Basically a synchronisation problem.
I need a buffer to store the sequence of packets the device sends following a request, and then extract the packaging info and reconstruct the data. Can Queue's be used to do this? Create a queue in the main VI, then in the OnRead event VI, just fill the queue, and read the lot out back in the main?
How do you do this??
09-13-2006 05:12 PM
09-14-2006 02:59 PM
09-15-2006 04:51 PM
You can find lots of good examples for how to use queues if you go into the example finder (Help->Find Examples) and then search for "queues".
Justin D