LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

auto regulate offset control

Hello,

I am new to LabVIEW, and I am having some problem which might seem very basic, . I need to change the offset value Which i am able to change manually but I need to change it automatically into different ranges defined by the user, I am unable to connect anything to automatically control this offset pin.

I am attaching the BasicFile Can anybody guide me and help me in this regard, like what approach should I use?

Thanks

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

Hi strager,

 

Which i am able to change manually but I need to change it automatically into different ranges defined by the user, I am unable to connect anything to automatically control this offset pin.

The "set offset" is a control. Change it to an indicator and you can "change it automatically"!

 

I am attaching the BasicFile

What is a "BasicFile"? You attached an image of your blockdiagram…

 

All your wording ("new to LabVIEW", "pin", "BasicFile")  forces me to recommend going through all those FREE online resources offered by NI to help you to learn LabVIEW!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(3,620 Views)

Sorry for the errors,

I need to change the offset value Which i am able to control manually but I need to change it automatically in different ranges defined by the user, I am Unable to connect anything to automatically control this offset pin. I am also attaching the file 😉 

 

Thanks

0 Kudos
Message 3 of 6
(3,605 Views)

Hi strager,

 

as said before: change the control to an indicator. THen you can "connect anything"…

 

When you don't know the difference on a control and an indicator: go through the LabVIEW beginner courses offered by NI!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(3,597 Views)

indicator cannot connect to offset pin I ahave even tried this before, we can only connect control to that pin

0 Kudos
Message 5 of 6
(3,588 Views)

Hi strager,

 

THINK DATAFLOW!

 

"indicator cannot connect to offset pin" vs. "I need to change it automatically"

Yes sure, you cannot connect an indicator to an input of a subVI.

But you wanted to "change it automatically", which means (to me) you have another datasource available. So where is your "automatic" value coming from?

 

It's all dictated by DATAFLOW - and DATAFLOW is explained in the LabVIEW help and in all those free online resources offered by NI!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 6
(3,569 Views)