Jump to content

Analog Output in DAQ


charupraba

Recommended Posts

You might consider saving the value that you output in a Global variable. That would save it after the VI that creates it terminates. Also make it available to any VI in your total implementation.

It is true that many programmers have a dislike for using Global variables, often born out of ugly experiences in multiple-programmer situations. But, in LV, they are a handy tool, especially since you can have more than one named Global variable set, and thus partition your Globals between users. You can also partition shared values among functions, such as output values, control equation constants, etc.

Link to comment

You might consider saving the value that you output in a Global variable. That would save it after the VI that creates it terminates. Also make it available to any VI in your total implementation.

It is true that many programmers have a dislike for using Global variables, often born out of ugly experiences in multiple-programmer situations. But, in LV, they are a handy tool, especially since you can have more than one named Global variable set, and thus partition your Globals between users. You can also partition shared values among functions, such as output values, control equation constants, etc.

Hi

Thanks for ur reply..

actually how we handled it was we read the value of the Physical channel whose device name and port no must be known to get the value of the Analog Output at any instant..

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.