NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Proven Zealot
johnsold
Posts: 7,708
0 Kudos

Re: USB 6009 Digitial I/O Startup TTL High or Low?

What is the purpose of the external switch? 

 

A circuit like this can be used.

 

6009 startup.png

 

The operation can be understood with reference to the timing diagram below.

 

timing.png

 

T1: Power to computer/USB-6009 turns On. Power on Reset signal goes High.

T2: Digital Port starts up as Input.  Lines pulled High by internal resistors.

T3: Power on Reset signal goes Low.

T4: Program is running and configures Digital Port as Output.  Lines are Low.

T5: Program sets DO1 High.

T6: Program sets DO0 High. This results in T6a: Q output of flip flop goes High. Which produces T6b: SSR turns on.

T7: Program sets DO0 and DO1 Low.

 

Lynn

Member
sahani
Posts: 18
0 Kudos

Re: USB 6009 Digitial I/O Startup TTL High or Low?

Hi Lynn, 

 

I have connected the D type Flip flop as per the diagram you have mentioned in the previous reply and it is working properly as what I needed. 

 

but now I want to get 2 digtial output when it get trigger from 1 input, I have tried to add a another case structure  to the existing program, but It give me a error saying case structure has not got a selector value, i have added a selector value, please can you advice me what is wrong in the program. 

 

Program :  Input Trigger --> Delay 1 --> Output 1

                                        Delay 2 --> Output 2.

 

both delay should get the input from the same trigger at the same time and the delay operation should start at the same time.

I have attached the VI.

 

Thanks

Veer

Active Participant
apok
Posts: 600
0 Kudos

Re: USB 6009 Digitial I/O Startup TTL High or Low?

reason for that is your "T/F" statement case should only have 2 cases(one for TRUE and another for FALSE), not 3. What it looks like you are trying to do is to control the delays on the digital outputs independently? 

Member
sahani
Posts: 18
0 Kudos

Re: USB 6009 Digitial I/O Startup TTL High or Low?

Hi,

 

Yes I want to control the delay of the digital output independently, Can you give me advise how to achieve this with the same Labview code or I need to make more changes to get two output. Can you give me some logic how to get it done. 

 

Thanks

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page