LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Need Labview equivelent of V+'s File Mapped Ports

Would like a way to port V+ to Labview. My V+ program uses (many) Ports through windows fileMapping. Is there an easy way to do this in labview. Or would it be easier to just poll all the variables through say the Labview.Application ActiveX Control.
0 Kudos
Message 1 of 3
(2,522 Views)
I did a little looking through the V+ user manual to try and get an idea of what these ports are. It looks like they are just mechanisms for communicating with external devices. There are certainly many communication methods supported in LabVIEW such as serial, TCP, ActiveX, etc. Depending on what you are communicating with you could use the built in LabVIEW functionality. If it is something that LabVIEW doesn't support natively, you would probably need to look at calling the driver through a potential dll interface using the call library function. Also, it may be possible to convert the V+ code over to a dll or have it act as an ActiveX server - I didn't find any resources on this but you might know how to do it since you have worked in V+.
0 Kudos
Message 2 of 3
(2,522 Views)
Thank you matt. I have decided to try using the VI Server ActiveX controls to poll the variables in a seperate (C++) component. My only problem with this is that I have a lot of controls that don't change very often, but I want to catch it when it changes. It seems like a lot of unecessary polling.
I am also considering using datasockets, but that might be overkill for a lot of controls on a local machine.
Any thoughts would be greatly appreciated.
0 Kudos
Message 3 of 3
(2,522 Views)