LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Visa resource geeft mijn Com poort niet weer in mijn exe program

Hello, can somebody help me to find what the problem is.

 

I build a small program using a RS232 to comunicate with a GE PLC using a SNP-X protocol. 

I have used a Serial Configuration.vi with a "Visa Resource Name" Control. I build a executable of my program and a installer.

 

I installed it on a pc that has no Labview version on it and i can not see my Com Ports in the "Visa Resource Name" Control.

I have this problem on two pc's.

 

When i install the program on my pc where i wrote the program and Labview is installed it works without any problems.

 

I hope someone have a good idea.

0 Kudos
Message 1 of 4
(2,402 Views)

Did you include NI-VISA runtime in your installer? MAX? Just like requiring the LabVIEW runtime, you must include all hardware drivers. What error code are you getting?

0 Kudos
Message 2 of 4
(2,395 Views)

I will check it later today if i included the visa driver to my executable, i am not shure.

 

I do not get any error messages the program is running but when i try to connect i build a dialogue for inputting all settings of the com port and here

in the "visa resource name" control my com ports will not be shown.

Only the "Refrech" option is shown.

 

When i go to windows device manager I could see that my 2 Serial Com ports where set correctly and are working properly.

Also if i start "Hyperterminal" i can acces both com ports.

 

So it could be a missing driver I go and check it,

Thanks

0 Kudos
Message 3 of 4
(2,377 Views)

And what was the result?

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 4 of 4
(2,368 Views)