ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Communication OM21 exe program

Solved!
Go to solution

Hi everybody,

 

I created a exe program to communicated with OM21 device with LabView 2012 :"CDM_2oo3.exe".

This device is described on "http://www.locadif.fr/fr/produits.asp?idp=23" (in French).

 

This program worked on my computer (Windows 7).

But there is a communication error on an another computer :

"-1073807202

 Property Node (arg 1) in OM21.lvlib:Serial And GPIB Write.vi->OM21.lvlib"

 

Description

Hardware :

Computer --> converter USB to RS232 (8 COM ports) --> OM21 device

 

File "2018_03_12 Fichier exe pour la CDM pour 2oo3.zip" (in attachment):

Folder "Configuration files" --> file "OM21-Ground_continuity.ini" (definition COM port to put on C:\)

Folder "Programme" --> LabView project

 

 

I tried some tests :

Test 1 :

On my computer (Windows 7), I tried exe program : "CDM_2oo3.exe"

--> OK, it worked

 

Test 2 :

On another computer (Windows XP), there is a LabView Runtime.

I changed COM port and I tried exe program : "CDM_2oo3.exe"

--> NOK, communication error

 

Test 3 :

On Windows XP computer, I use install kit to install exe program

 --> NOK, communication error 

 

Test 4 :

On Windows XP computer, I tried another COM port and I changed COM port on file ""OM21-Ground_continuity.ini"

--> NOK, communication error 

 

Test 5:

On Window7 computer without LabView, only Runtime 2012, I I use install kit to install exe program

--> NOK, communication error 

 

Do you have any idea ?

 

Regards,

Little_Giant

0 Kudos
Message 1 of 4
(3,074 Views)
Solution
Accepted by topic author Little_Giant

 

Hi,

 

       Try Installing the NI VISA and reboot. Below is the link.

http://www.ni.com/download/ni-visa-17.0/6646/en/

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

I will try your suggestion.

0 Kudos
Message 3 of 4
(3,037 Views)

Hi,

 

NI-VISA 17.0 can not work on Windows XP.

So I try install NI-VISA 15.5 for Windows XP, it's worked.

 

Thank you for your help.

 

0 Kudos
Message 4 of 4
(3,007 Views)