Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Bluetooth options with PDA & realtime controllers

Hi JLS,
 
I found a way to fix my problem, basically instead of just doing a serial string read or write, I am taking care to format my string (using "format into string" function) on the PC side and then using "scan from string" on the PDA side.  I give it an arbitrary letter "D" to search for as a data start point.  Then I read the appropriate number of bytes.  This works great even for multichannel stuff...I built an app where I am acquiring 10 channels of data from the PC to the PDA!! 
 
Thanks for your help!! I wrote this solution out for posterity sake. 
 
-Phil
0 Kudos
Message 11 of 14
(2,187 Views)
Excellent - you've basically implemented a simple protocol on top of serial/bluetooth transmission to synchronize your data.
 
I'm glad it's working as you require!
 
Best Regards,
 
JLS
Best,
JLS
Sixclear
0 Kudos
Message 12 of 14
(2,149 Views)

Following up on this thread I am hoping that someone can help me as well. I can see that some of you already have succes using VISA on PDA, I myself am not that lucky.

For about a year now I have been using the windows CE 4.2 touch panel NP800S from Ivcdisplays.com (lately the model has been replaced by the NP880S CE 5.0), they are much cheaper than the NI touch screen (sorry NI).

Back to my question. Upgrading to PDA 8.20 yesterday I was extremely pleased to find my well known buddies "the visa functions" back in the game, but whenever I create just the simplest code fragment to open, read or write, I get the following error "-1073807202". Which transfers to :

Error -1073807202 occurred at an unidentified location Possible reason(s):

VISA:  (Hex 0xBFFF009E) A code library required by VISA could not be located or loaded.

Does PDA need a runtime installation of VISA drivers as well as any windows machine does ? If so, how do I go about doing this ? Both my NP800S (CE42) and NP880S (CE50) return the same error. I also have a TPC2006 which I have not yet tried.

Any help is greatly appriciated. Also (if anyone from NI reads this) I want to thank NI for PDA 8.20, it looks like a great step forward and finally we have the long waited "wait" function 🙂

 

søren h. jensen 

0 Kudos
Message 13 of 14
(1,998 Views)

Hello,

The following is an excerpt taken from the LabVIEW 8.2 PDA Module Getting Started manual:

"VISA support—You can use the VISA VIs and functions in PDA VIs instead of the Serial Compatibility VIs if you install the VISA driver, which is available by selecting Start»All Programs»National Instruments»VISA»Windows Mobile-CE Driver Installation. The target must have a serial port to use the serial VISA VIs and functions. The target must be USB host-enabled to use the VISA USB VIs."

Could this be the problem?

Here is the document link for reference: http://www.ni.com/pdf/manuals/371296b.pdf

Best Regards,

JLS

Best,
JLS
Sixclear
0 Kudos
Message 14 of 14
(1,981 Views)