LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial connection using ircomm (PDA)

Hi,

(LabVIEW 8.2)

I have a question regarding the ircomm. I am planning to use the IR port of a PDA to worka as a serial port (so I won't have to design a optoinsulation for the measurement instrument). If I will add the registry entries in Win Mobile 5 to set a virtual serial port for IR, will I be able then to use that port with the VISA serial port ? I have found out that there are limitations for serial compatibility VIs, does they exist in the 8.2 ? (as in  LV7.0 -> http://digital.ni.com/public.nsf/allkb/402DBAB03DB8A74F86256DBE00700E13)

TIA
0 Kudos
Message 1 of 6
(9,510 Views)

Howdy,

LabVIEW 8.2 was the first PDA module version to support VISA. For more info please see this article. As for registry key manipulation, I don’t know. The first sentence in the article you listed above says: “If the driver for the infrared port on the PDA device supports the IrCOMM protocol, you can use the Serial Compatibility VIs in the LabVIEW PDA Module to communicate using IrCOMM.”  

Basically, LabVIEW talks serial using the VISA VIs or the Serial Compatibility VIs. It is left to the hardware and driver of the PDA to take those serial commands and turn them into IrCOMM.  

Charlie M. CLD
0 Kudos
Message 2 of 6
(9,468 Views)
hi i am new to the labview pda , i made an  application  which run on pda , but my problem is i am use visa resource name control used in my application . but in pda it is not shown .when user  choosee this option then only my application run . plese slove my problem. send coresponding logic on this reply
thank u
0 Kudos
Message 3 of 6
(8,044 Views)

Hi Jabili,

First, make sure that you have installed VISA on the PDA. To do so, in the LabVIEW Project Explorer, right-click on your PDA device and select: Install>>Support for NI-VISA.

If I understand your question, when you try to choose a VISA Resource Name, as an input to a VISA function, on the PDA, nothing shows up as an option. However, when you do so for a VI on a PC, it does give you some options. This is most likely because those options that appear in the PC environment came from the Measurement and Automation Explorer (MAX). There is no MAX on the PDA. What you may want to do is dig through your PDA and find out the exact name of your resource is. Then, in the LabVIEW help, search for a document titled “VISA Resource Name Control.” This will help you understand the syntax of a VISA Resource Name. For example:

COM1 is          ASRL1::INSTR

Charlie M. CLD
0 Kudos
Message 4 of 6
(7,875 Views)
charile thank u for responding , but i am unable understand the soluation my resource name is pass to another sub also .i  heard the string control also act as the visa resource name control , but when i connect the sting control  to my sub , i does not connect to vi .please help in this issue .Try send corrsponding logic vi to me in the post. i am a student doing project in labview.
0 Kudos
Message 5 of 6
(6,592 Views)
Hi jabili,

I'm not sure why you're not able to replace the VISA Resource Name control with a String control. You should just be able to wire the String control to VISA Open VI (see image below). You may also want to take a look at some of our VISA examples in the example finder.



Regards,
Stanley Hu
National Instruments
Applications Engineering
http://www.ni.com/support


Message Edited by stanthetiger on 01-22-2008 02:12 PM
0 Kudos
Message 6 of 6
(6,291 Views)