Sign in to follow this  
Antony

How do I use a toggle switch to set a value on another component

Recommended Posts

Hello,

I am relatively new to DaqFactory.

I would like to use a toggle switch to retrieve a value from a dynamic text box and apply it to Dac0.

The idea is to click on the toggle setting state to 1, get value, apply value to Dac0.

Click on toggle again setting state to 0, apply value of 0 to Dac0

Your advice is eagerly sought.

Share this post


Link to post
Share on other sites

If I'm understanding you right, the Descriptive Text component will do this for you. Just create a new descriptive text component, open its properties and hit the digital Out button. Type in the name of your channel (Dac0?), and hit ok twice. Every time you click it, it will toggle the digital out, as well as change the text and the color. This is demonstrated in the DAQFactory-LabJack Quick Tutorial brochure that should have been in the box with your new LabJack, and is also in PDF format in the Start menu.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this