Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW example in niHSDIO to send a static word and continuously poll for a reply?

I know LabVIEW (10 years) but am new to niHSDIO. I need to build an app that will permit sending a static word (in most cases 16 bits) and wait for a reply. Pretty straight forward but would like an example or two to serve as a sort of template. I have looked at the example "Dynamic Generation and Acquisition- Source Synchronous.vi' but would like to see more if there is more out there. Any one able to point me to a tutorial or other examples, I need to get a better understanding of this?
TIA
lmd2
Lawrence M. David Jr.
Certified LabVIEW Architect
cell: 516.819.9711
http://www.aleconsultants.com
larry@aleconsultants.com
0 Kudos
Message 1 of 3
(3,132 Views)

Hello lmd2,

The examples that are shipped provide a great source of reference to what you intend to do. The example you looked at is the closest in functionality to what you intend to do. The other example " Dynamic Generation and Acquisition- Demo.vi" is also another great example that could be a starting point for you. Looking at the examples at the Developer Zone  for HSDIO, there isn't really anything for your intended application.

Ayman K

0 Kudos
Message 2 of 3
(3,127 Views)
thanx for the respose; yes using these two examples I am getting closer.
Let me ask you this, the word that I am sending is clocked at 5MHz, and the response from the 'black box' is also clocked at 5MHz but we need to measure the skew (ideally to a resolution of 5 nano seconds - or the best we can) so the reciever must run at a much faster clock. In the example the sample clock rate for the generation is set by a control and we have it set to 5MHz; the sample clock to the acquisition is fed from the property node and set to strobe.
To increase the sample rate of the acquisition as described above, would I introduce a multiplier to the value from the property node, or would some other combination of settings work better (i.e. hardwire a constant, change strobe to ClkIn??) are the various timing options elaborated on in a white paper or something? maybe a tutorial?
TIA

lmd2
Lawrence M. David Jr.
Certified LabVIEW Architect
cell: 516.819.9711
http://www.aleconsultants.com
larry@aleconsultants.com
0 Kudos
Message 3 of 3
(3,122 Views)