From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
Hello I use component work 2.0 and a PCI-MIO-16XE-10 card.
When I use the component CWAO I have a problem with the event "Progress". I just want the component return to me a evenement (progress) when all the point AO will be out. However, the component return to me the event in the beginning of the process.
This is my code, please help me:
Private Sub Command1_Click() Dim donne() As Double Dim i As Integer Dim NbPtBuffer As Long Dim Frequence As Integer
NbPtBuffer = 100
ReDim donne(NbPtBuffer - 1)
'Reconfigure les caneaux pour le test CWAO1.Device = 1 CWAO1.Channels.RemoveAll CWAO1.Channels.Add "0" CWAO1.Channels(1).ChannelString = 0 CWAO1.Channels(1).ChannelType = cwaoVoltage