From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview with ROCLink communication

Will active X work with any 3rd party software? Basically, I have the roc link software but there is no way of simulating data so I was thinking of having labview write values to the point locations to simulate it but I can't seem to make it work. 

0 Kudos
Message 1 of 6
(3,417 Views)

LabVIEW supports ActiveX. Do you want to use ActiveX controls / calls from LabVIEW? Or do you want to call LabVIEW va ActiveX?

0 Kudos
Message 2 of 6
(3,386 Views)
I think this is where my limitation on active X lane view programming starts.

What is the differences?

Here is an example of what I want to achieve:

The ROCLink will display the configuration of the RTU. The issue, I have no way to test the programming/logic without being connected to a live RTU. What I wanted to do is send a false value in the location where you would normally see an AI. That way any logic that sees that value can simulate what it is going to do. Again, not sure if I can do this, but worth asking.
0 Kudos
Message 3 of 6
(3,365 Views)

So you basically want to simulate the RTU using LabVIEW Code.

 

I don't know anything about ROCLink, but if you are able to switch it from the RTUs ActiveX Server over to the LabVIEW ActiveX Server and you know which methods to implement, this should be possible. But honestly, it sounds like a lot of work to me Smiley Sad

 

LabVIEW help has some basic infomation 

 

http://zone.ni.com/reference/en-XX/help/371361M-01/lvhowto/activating_lv_activex_srv/

 

 

 

 

 

0 Kudos
Message 4 of 6
(3,359 Views)

To add to Oli_Wachno's reply, here are a couple resources you may find valuable in regards to using ActiveX with LabVIEW:

 

ActiveX and Labview

http://www.ni.com/white-paper/2983/en/

 

Using ActiveX with Labview

http://zone.ni.com/reference/en-XX/help/371361L-01/lvconcepts/using_activex_with_labview/

 

 

0 Kudos
Message 5 of 6
(3,343 Views)
I wouldn't say simulate the program in Labview. I would have to recreate everything there to do the program functions. I rather force values from Labview to the ROClink in order to make the RTU program think it is being fed live data, for instance from a transmitter, then RTU program acts as it would. If the transmitters input exceeds the high limit, then the RTU would appropriately shut down outputs. It would be benefit as we can test code out before installing it.

Thanks for the links. I'll review more and begin more test to see if it will work. I did try before but I think I am not doing this correctly.

Thanks,
0 Kudos
Message 6 of 6
(3,324 Views)