05-28-2009 08:56 AM
Hi, I am using a bluetooth DAQ card to acquire data and write it to a PDA application.
I have written the code in labview and have run it succesfully on my laptop. I am using the VISA VI's and virtual serial port to communicate with my bluetooth device.
The outgoing PORT number on the PDA for the device is 8 so I have fed this into the open visa connection VI. See attached jpg.
When I try to run the application on the PDA, I get an error : Code -1073807343 and message Visa set properties.
Can anyone help?
Thanks
05-28-2009 08:51 PM
What version of LabVIEW PDA are you using? Did you install support for NI-VISA on the PDA?
Try using ASRL1::INSTR as the VISA Resource Name for COM port 1.Alternatively, you might be able to use the VISA Find Resource VI to search and retrieve a specific resource or all available VISA resources.
05-29-2009 04:52 AM
Labview mobile module 8.6. the PDA is operating Windows mobile 6. Yes I have installed NI-VISA ont he PDA.
I have tried as you suggested. I used the VISA find resource VI and found ASRL1::INSTR. I then fed this to the open VISA connection VI. I now get the same error code but the source is now VISA write.
05-29-2009 05:28 AM
I have fixed the below as I should have used ASRL8::INSTR to my VISA open connection.
However when I run the application ont he pDA, it crashes without reason after a few iterations of the loop. I have attahced my code to see if anyone can shed some light on why?
12-15-2009 12:50 AM
Hi jamie310382.
May I ask you how do you install NI-VISA on the PDA?
I ask because I try to install NI-VISA to smartphone (Samsung i607 - windows mobile 5) but it failed
The error is "this installation file is not intended for this device."
I also try on another phone with WM 6.0 (same error)
Do I need to do anything before I can run installation?
Computer XP service pack3
Device Samsung, Q phone (WM 5.0or 6.0)
Activesync 4.5
Labview 8.6
NI-VISA 4.4 (I try all version 4.5; 4.6 same error)
Thank you for your help.
TP
12-15-2009 03:09 PM
Jamie,
I had the same issue and I could not fix it.
Apparently VISA works fine on a PC and does not work properly on a PDA. I think this is one of those known issues reported by NI.
I fed a string COM8 into basic serial communication and it worked fine.
Watch out because the read and write to serial require visa so you have to be consistent.
Take care