Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Event Structure

6) As you know, my program need to put a red or green light at the end to show pass and fail of the test to the operator. After that, I have to save this record in the excel file, do you think event structure that you gave me will work? Attached is my file that I use to save file. Do you think that will work. You see "Write LabVIEW measurement File" in enable event case.
 
7) The stached sequence structure in enable event case, is not the matter of which part execute first. Because there are acquistion sub program inside the enable event structure. Is it not a matter which run first? or need to follow the flow. I am confuew, why you put a wire from the button part to the for loop. Could you please explain a little here?
0 Kudos
Message 41 of 63
(1,659 Views)

Oh , i thought you were using some digital channels that you ahve configured on max for performing DO operations.

I suggest you go throught the DAQmx  DIgital IO examples and the see which suits your purpose and use it.

Since your requirement was that your AI acquisistion has to be continous, I do not see any escape from the lock that user cannot execute any other event, or press anyother button while teh acq loop is running.

if it is so, then just switch back to finite acquisition. and on each run you can get avalue and decide on which buto you can click.

let me know if this is ok and we can modify the Vi to work like this.

regards

Dev

 

 

0 Kudos
Message 42 of 63
(1,658 Views)

Hi Dev:

If I use finite acq. then the time is not accurate because it need to operate configure--> start ---> 1/10 ---> stop. In this way, there is also a 1ms from the shift register to the imeout case, it doesn't work, am I correct?

If so, that means you can not any see escape from the lock that user can press any other button to do the other event, right? Thet mean, otherwise the user must press "stop acquistion" button like subvi to go to the next button doing? right? The program finally will look two interface, one is main and the other is subvi, right?

First of all, am my understanding correct? 

0 Kudos
Message 43 of 63
(1,655 Views)

Hi John,

If so, that means you can not any see escape from the lock that user can press any other button to do the other event, right? Thet mean, otherwise the user must press "stop acquistion" button like subvi to go to the next button doing? right? The program finally will look two interface, one is main and the other is subvi, right?

Yes, that is what i meant.

If I use finite acq. then the time is not accurate because it need to operate configure--> start ---> 1/10 ---> stop. In this way, there is also a 1ms from the shift register to the imeout case, it doesn't work, am I correct?

Yes again you have understood it correctly.
 
The best logic i can suggest is keep continous acq in a sub VI, keep a stop button in that sub VI to stop it and get back to Main VI.
Here, in the main vi, keep your Reset, Bark and other options.
 
Hope this solves your problem.
 
Any more doubts, do mail back.
 
Regards
Dev
 
 
0 Kudos
Message 44 of 63
(1,644 Views)

Hi Dev:

The best logic i can suggest is keep continous acq in a sub VI, keep a stop button in that sub VI to stop it and get back to Main VI.

Here, in the main vi, keep your Reset, Bark and other options.
 
That means in order to make the operator USER FRIENDLY to use the program. The above is the best way to do it. Am my understanding correct?
 
 
I would also like to verify with you that DGND always need to use with other digital ouput like p0.0, p0.1, p0.2 or so on. Is that mean DGND MUST use with other digital output lines like p0.0, p0.1,p0.2 or so on. I need to be sure
 
If so, then my fixture ground will be the same as CB68LP board ground. Do you think there is any other way to seperated it or not?
 
 
 
0 Kudos
Message 45 of 63
(1,644 Views)
Hi John,

The best logic i can suggest is keep continous acq in a sub VI, keep a stop button in that sub VI to stop it and get back to Main VI.

Here, in the main vi, keep your Reset, Bark and other options.
 
That means in order to make the operator USER FRIENDLY to use the program. The above is the best way to do it. Am my understanding correct?
 
Yes John, that's the best i can suggest in this case.
 
 would also like to verify with you that DGND always need to use with other digital ouput like p0.0, p0.1, p0.2 or so on. Is that mean DGND MUST use with other digital output lines like p0.0, p0.1,p0.2 or so on. I need to be sure
 
DGnd gives you the ground reference for all your Digital outputs. In ohter words, The 5V TTL that your Dogital output channel sources, is reverenced to this DGND. So, you have to connect it for all digital outputs.
 
If so, then my fixture ground will be the same as CB68LP board ground. Do you think there is any other way to seperated it or not?
 
No i do not see any way to seperate it.
Here is a note of  Caution : Before connecting to your fixture's ground, do study it well and do confirm if this fixture's ground terminal and the DAQ card's digital ground are compatible.
        Always make it a practice to verify the external/ Test device's input/ output signal properties before connecting your DAQ card to it.
because andy mismatch between teh source and sink can damage both the test system and your card as well.
 
Regards
 
Dev
 
 
 
 
0 Kudos
Message 46 of 63
(1,641 Views)

Hi Dev:

 

DGnd gives you the ground reference for all your Digital outputs. In ohter words, The 5V TTL that your Dogital output channel sources, is reverenced to this DGND. So, you have to connect it for all digital outputs.

 

That means I MUST use DGND becasue the 5V TTL that your Dogital output channel sources, is reverenced to this DGND. am I correct?

THere is no other way to escape from the CB-68LP board, am I correct? I need to be sure.

 

If so, then my fixture ground will be the same as CB68LP board ground. Do you think there is any other way to seperated it or not?

 

No i do not see any way to seperate it.

The attached graph indicate two part. One is signal source which is my test fixture with 9VDC power supply source. Another one is measurement system which can be CB68LP board and 6250 board. As you see there are two different ground, signal source ground and

the measurement system ground. Why can not seperated? Could you plesase explain?

 

0 Kudos
Message 47 of 63
(1,639 Views)
 

Here is a note of  Caution : Before connecting to your fixture's ground, do study it well and do confirm if this fixture's ground terminal and the DAQ card's digital ground are compatible.

 

In my case, how can I confirm? Could you please tell in your eyes my case is OK? As you see I have a fixture with 9VDV powersupply and the ground is connected to DGND of CB68LP right now? Everything is working right now.

 

        Always make it a practice to verify the external/ Test device's input/ output (here you are talking about the 9VDC power supply source without earth and the output current  from my test fixuter, right?) signal properties before connecting your DAQ card to it.

because andy mismatch between teh source and sink (measurement system as CB68LP and 6250 right?) can damage both the test system and your card as

 

0 Kudos
Message 48 of 63
(1,640 Views)
0 Kudos
Message 49 of 63
(1,636 Views)
This is the correct one Pls look
0 Kudos
Message 50 of 63
(1,666 Views)