LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Best Way to poll a Slow Device

A probably elementary question but...
 
I have a real-time app that needs to poll a GPIB device at a low priority periodically for data and am trying to find out the best way to do this withought hangng up the code.  I am using the NI-DDK with DJGPP in protected mode DOS so I am running single threaded.
 
My instrument requires a command (ibcmd and ibwrt) then I read the approx 10 byte response (ibcmd and ibrd).  The device is slow and I dont want my code to hang oin the ibrd function.  What is the best way to poll the interface for the completion of the read function?
 
Thanks.
 
-Bob 
0 Kudos
Message 1 of 3
(2,794 Views)
duplicate post and wrong board.
0 Kudos
Message 2 of 3
(2,766 Views)

Yup.  Sorry 'bout that.  Havent quite gotten used to the posting process.  I was on the board I wanted but ended up on the wrong one accidentally. 

Here is what happened:

When I went to post, I was presented with some screen telling me I had to search before I post (or something like that).  Having already searched, I put some keywords in and it then allowed me to post.  Unfortunatley, I didnt realize I had been redirected to another board before I submitted the post.  Haveing realized that after the fact, I then had to repost in the correct board.  Again, my apologies.

-Bob

0 Kudos
Message 3 of 3
(2,739 Views)