LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

opening an exe file remotely

Solved!
Go to solution

Is there any way that i can convert an exe file to a html file??

 

0 Kudos
Message 11 of 32
(2,140 Views)

Hi,

 

There's not really any way to make an exe into an html file.

 

Would using a remote desktop connection work for your application?

 

Regards,

Luke B.

0 Kudos
Message 12 of 32
(2,116 Views)

@ Luke B, i think the way you have described is going to work. Can you please give a bit more details on that. I cannot understand it completly. Thanks heaps

 

0 Kudos
Message 13 of 32
(2,100 Views)

Remote desktop is part of windows. Your IT department should be able to explain it to you.

0 Kudos
Message 14 of 32
(2,094 Views)

Now we have no option regarding integration of the external exe file in LabVIEW. So we are trying to make the driver for that specific instrument in LabVIEW. Firstly we have tried to capture the data using the serial port monitor software  (http://www.aggsoft.com/serial-port-monitor2.htm). Now we need to read the data packet from the instrument. In one cycle the instrument sends14 bytes that we have to read. The first 2 bytes are constant every time as it reads the voltage and the frequency from the machine which is constant. The next bytes represents current, power factor which are variable. So the way we though to proceed is that develop a programe in LabVIEW that reads the data and stores it in a arrey. The programme wil work in the following way  

  Read first 2 bytes

  if bytes = the first 2 bytes

      read the next remaining bytes

 end if;

 

So how do we do that. Any kind of help is appriciated.

0 Kudos
Message 15 of 32
(2,074 Views)

Hi,

 

First I would suggest that you check ni.com/idnet, if you haven't already. There are many drivers already created for a wide variety of instruments.

 

If you are going to try building your own, in the LabVIEW Example Finder, under Hardware Input and Output> Serial there are several examples demonstrating communicating with a serial port. You could start with one of those, then use some of the string to number conversion vi's along with the build array vi.

 

I hope this helps get you going in the right direction,

 

Regards,

Luke B.

0 Kudos
Message 16 of 32
(2,062 Views)
Solution
Accepted by gvcjgzj

 

We did not find any driver for our instrument so we are trying to capture data using the method i have explained before. Below is an example of the data packets that we are receiving in our serial port monitoring software.

First data packet       13 88 04 4C 00 00 01 F3 00 00 7B 37 02 EE

Second data packet   13 88 04 4C 00 00 01 EE 00 00 79 D9 02 EE

Third data packet       13 88 04 4C 00 00 01 EB 00 00 78 BA 02 EE

 Here as we have seen above 13 88 (5000=Frequency in decimal) 04 4C (represents1100= voltage in decimal) is constant  and the ending is represented by 02EE.  Apart from tis the rest (for the first packet 01 F3= 499 assuming current  and 7B 37 = 31543 assuming power  keeps on changing in every packet and they all have different scaling ). The 00 00 just represents the padding between them. Now we have to read the values in altogather say in different boxes and produce them in LabVIEW front panel. Here i have attached a picture of the instrument reading side by side with the serial monitoring software reading. How do i do that? i have read something called visa read and write but they only accepts strings not in bytes. Any kind of help is appreciated.

0 Kudos
Message 17 of 32
(2,052 Views)

Moved to here.

0 Kudos
Message 18 of 32
(2,048 Views)

I have  a vi and i want to make it remote using tcp/ip protocol. Where do i start from? i am a bit confused. Is there some example that can guide through the steps. Any help is appriciated.

0 Kudos
Message 19 of 32
(2,033 Views)

Hi,

 

What are you trying to do with your VI once it is deployed through TCP/IP? There are many examples on this topic, so it might be helpful to be able to narrow that search some.  If you go to ni.com and search TCP IP and use the tutorials filter on the left hand side of the screen, there are many results.  Additionally, there are several examples that ship with LabVIEW on this subject, and they can be found in the Example Finder in LabVIEW with a search for TCP/IP.  Good luck!

 

Dave C

 

Applications Engineer

National Instruments

Applications Engineer
National Instruments
0 Kudos
Message 20 of 32
(2,017 Views)