Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Edge counting with digitial pause trigger

Hi Again,

It was not a big issue. I removed the error handler from the program and it is working fine. Error 0 stands for " Operation completed successfully" in VB.

Thanks

 

0 Kudos
Message 41 of 52
(1,987 Views)
 
Hi there,
 
I would like to do MCS acquisition program using DAQmx which would be the final part of the project, I have program using traditional DAQ driver. Could you please suggest me how to proceed the same functionality using DAQmx in MCS mode.
 
Thanks

Message Edited by Support on 07-13-2007 01:30 PM

0 Kudos
Message 42 of 52
(1,970 Views)

Hi Adam,

Just been lost in the MCS mode. Have u look at the program?

Thanks

 

0 Kudos
Message 43 of 52
(1,960 Views)

Hello there

Now I will explain abt the problem
 
1) Buffer operation
 
I would like to do single buffer operation (finite)
 
function in traditional DAQ is
 
  i6602Status = GPCTR_Change_Parameter(i6602DeviceNum, lCounter, ND_BUFFER_MODE, ND_SINGLE)
 
Is there any function in DAQmx to set up single buffer operation?
 
2) I would like to configure the buffer
 
function in traditional DAQ is
 
i6602Status = GPCTR_Config_Buffer(i6602DeviceNum, lCounter, 0, Int(MCS_ChannelsPerSweep.Text), pulBuffer(1)
 
Shd I configure the buffer when i do buffer operation or will be done automatically when calling the buffer operation? If not is there any function in DAQmx to configure buffer operation?
 
3) Setting up hardware trigger and software trigger
 
traditional DAQ function:
 
            Hardware trigger:
 
            i6602Status = GPCTR_Change_Parameter(i6602DeviceNum, lCounter, ND_START_TRIGGER, ND_ENABLED)
 
           Software Trigger:
           i6602Status = GPCTR_Change_Parameter(i6602DeviceNum, lCounter, ND_START_TRIGGER, ND_AUTOMATIC)
 
Is there any function in DAQmx to set up different trigger?
 
 
Thanks
0 Kudos
Message 44 of 52
(1,954 Views)

Hey there,

Sorry I haven't got back to you in a while.  I resolved this issue and I stopped receiving the notifications.  Only just checked it "just in case" and see that you are still posting new questions.  I'll look into the questiuons and get back to you as soon as I can.

 

Thanx

AdamB

Applications Engineering Team Leader | National Instruments | UK & Ireland
0 Kudos
Message 45 of 52
(1,951 Views)
Hello Adam,
 
Thanks for your response. I have been totally lost in this MCS acquisition, it will be great if i get assistance as this is the last part of the project.
 
Thanks
0 Kudos
Message 46 of 52
(1,949 Views)
Hey,
 
You might want to have a look at the help file that details all of the counter commands etc.
If you go to >>Start >> Programs>>National Instruments>>NI-DAQ>> NI-DAQmx C API Visual Basic 6.0 Help
 
There is a load of information in there that will help you look into the problem.  Its going to take me quite a while to look into this as I am not really all that familiar with traditional Daq Counters.
It might even be worth starting a new thread.  More people will look at new threads than 3 week old ones.
 
Thanx
 
AdamB
 
p.s What is MCS?

Message Edited by AdamB on 06-14-2007 08:49 AM

Applications Engineering Team Leader | National Instruments | UK & Ireland
0 Kudos
Message 47 of 52
(1,945 Views)
Hi
 
I had a look at the help and it does not having any information about
 
1) buffer event counting (synchronous)
 
2) hardware trigger and software trigger
 
3) configuring buffer event counting
 
But these are the functions i have listed out before
 
Thanks
0 Kudos
Message 48 of 52
(1,941 Views)

In that help file there is a DAQmc C Reference help guide.

Did you look in there?

Try posting in a new forum.  It really might help you get other people that have used these before.

AdamB

 

Applications Engineering Team Leader | National Instruments | UK & Ireland
0 Kudos
Message 49 of 52
(1,939 Views)

Hi

Thanks for your information, I will try.

Regards

0 Kudos
Message 50 of 52
(1,936 Views)