LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

read a puls on rs-232

Hi

I have a serialport. SO you can change the level? i cant

made a new vi but that dosent work either....

On that computer with the com port i have not installed LV so i run it as a application? is it that?

ataching the aplication and new vi

 

Download All
0 Kudos
Message 11 of 18
(1,059 Views)

Hi

Thanks for testing.

The EMC software sets the voltage high.

I have a new computer that i  programming on with no com port i think but when running the vi it finds one ??? strange no fysical com  or ltp port but it sas in the computer settings that it exist.

 

When running the vi it sets both the DTR and RTR asserted. But when running the vi application it dosen't work ? Maybe it is the application that doesen't work...

0 Kudos
Message 12 of 18
(1,049 Views)

Read the instruction book for the motherboard.

I have a com and ltp port but not connected to a d-sub.... Smiley Happy

But still the vi works but the exe (application doesen't)

0 Kudos
Message 13 of 18
(1,041 Views)

If you are running the application on another computer then you need to make sure that NI-VISA is installed on the other computer. NI-VISA is a separate installer and is not included with LabVIEW. It should be on your Device Drivers CD, or you can download it from NI.

Message 14 of 18
(1,032 Views)

Hi

Thanks for the tip. Have the Visa installed but i found that "NI-serial 3.6" was not installed. After installing that both the .vi and the .exe worked.

Made a new ditrubution file with NI-serial 3.6 and now it was energized and the DTR-RTS.exe worked

Will try reading the rs-232 later.....

0 Kudos
Message 15 of 18
(1,019 Views)

NI-Serial is only required if you have one of NI's serial interface units. You indicated you did not have one of these. In fact, your statements were quite confusing about having a COM port but no D-Sub, which makes no sense. So, can you please indicate exactly what you do have?

0 Kudos
Message 16 of 18
(1,003 Views)

SOrry for the confusing statetment.

On the computer that i'm programming LV (a new with W7) Dont have anny on the outside found one on the motherboard.

On the computer that i'm running the software on (as an .exe file) an old laptop with xp and a com port.

But when running the vi on w7 computer it worked as supposed but running the .exe file dident work on either the xp or the w7 computer.

But afer instalation of NI-serial 3.6 on both the .exe file work on both computers

tested the read test.vi as read test.exe on the xp computer with the com port and it set DTR high and power the device but it dosen't read anything despite that DSR is hig and a puls is comming the original EMC still works ???

0 Kudos
Message 17 of 18
(998 Views)

Hi

Eureka  Smiley Very Happy

Asked the writer of the EMC code. He wrote that maybe 1200 to 9600 baud is better for a flashing LED. 110 Baud is more when the meter has a S0-output.

He says  that his program is written in VB. Looks like he test different baud rates that give a nice "signal". There were a advance mode there you could change the baud rate

Tested 2400 baud and it worked nice and recorded a F8

Thanks for all help.

I have learned a lot  Smiley Very Happy

0 Kudos
Message 18 of 18
(988 Views)