Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

comment générer de facon synchrone 8 signaux de périodes différentes?

francais:
j'utilise une carte pci 6602 avec labview 7 , pour information les signaux sont non périodiques et de l'ordre des microsecondes.
Exemple d'un des signaux à simuler
4 us état haut, 1.6us etat bas, 158us etat haut, 100.6us etat bas, 2.6us etat haut.
english:
I use a card pci 6602 with labview 7, for information the signals are not periodic and of the order of microseconds. Example of one of the signals:
4 us high state, 1.6us state low, 158us state height, 100.6us state low, 2.6us state height

merci, thanks
cordialement
didier michenaud
0 Kudos
Message 1 of 8
(4,007 Views)
Didier,
I have paraphrased your question into English as: "How can I generate 8 non-periodic pulsetrains that are synchronized (referenced to the same t=0)?" Is this the correct question? If so, here are some possible answers:

1. With the 6602 alone, you can't. NI-DAQ hasn't implemented any buffered output capability. I love the 6602, but would love it more if it had this capability (and 2 others* -- further griping at bottom).

2. The "standard" NI solution would be to add a high-speed digital board such as the 6533 or 6534 to do such pattern generation. However, if you want to generate a 10 second pattern with 0.1 usec resolution, you'll need to generate 100 million patterns -- one for every 0.1 usec.

3. A better solution is offered by one of NI's Alliance partners, Viewpoint Systems. With their board, you only define the digital output pattern at the times when one of the bits changes. Then you can get 0.1 usec resolution (or better) with a much smaller buffer of digital output patterns. It's called the PCI DIO-64 and can be found in their website at www.viewpointusa.com
I personally used Viewpoint's earlier product, the ISA-based DIO 128, and was happy with the performance and support.


*3 gripes about the 6602
------------------------
A. If we can capture semi-periods into an input buffer, we should be able to then re-create that same pattern of transitions using a semi-period output buffer. Or, using a default for pulse width, the capability could be extended to buffered period output.
All the MIO boards make it possible to capture an analog input and then re-generate a facsimile as an output. There should be an analogous symmetry for counter pulsetrains.

B. We should be able to reset the count value to 0 (or a predefined preload value) on a hardware "trigger". This is presently supported only in encoder position measurement mode, only when the signal is hard-wired to the counter's default GATE terminal, and only if the SOURCE and AUX inputs match a specified pattern.
Example: capturing motion info from a stepper motor and encoder. For steppers based on step pulses and a digital direction bit, you can't force a hardware reset of the command position counter value simultaneous with the encoder counter.

C. Digital filterning should introduce only a phase lag artifact, not a resolution reduction too.

-Kevin Price
ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
Message 2 of 8
(4,007 Views)
Bonjour,

Veuillez clarifier votre question.
Je n'arrive pas à saisir votre demande.

Sanaa TAZI
Application Engineer
National Instruments
0 Kudos
Message 3 of 8
(4,007 Views)
merci d avoir repondu,

matériel utilisé:
lab view 7 et driver nidaq et carte pci-6602

je dois simulé 8 signaux de facon synchrone c est à dire à partir de to.

j'ai donc utilisé pour réaliser une partie du probleme, le code librairie "Multiple Pulse-Train Generation with Phase Shifts (NI-TIO)"(qui me permettra de simuler 4 signaux)

NI-TIO =>
qu est ce que c est ?
est ce un driver ?
est ce compatible avec la PCI 6602 et NI DAQ?

je n arrive pas a synchronisé via une "gate" (je rentre un signal exterieur sur la "gate du compteur 0 tout en validant les autres criteres n°device , freq utilisée, duty cycle ....).

Cependant j arrive à obtenir un signal qui est periodique en mettant le start trigger en mode disable.
Or il faudrai que le
mode soit enable pour la synchro mais cela ne fonctionne pas.

j espere avoir clarifié ma question.

cordialement,
"dider"
0 Kudos
Message 4 of 8
(4,007 Views)
Bonjour,

Concernant votre question sur le NI-TIO :

qu est ce que c est ?
est ce un driver ?
NI-TIO est un circuit utilisé par les périphériques compteurs/timers de National Instruments développé spécialement pour les applications de comptage et de synchronisation.

http://digital.ni.com/worldwide/france.nsf/a27ebc3b7848b219862568be00839068/53e16055278ab55a80256e1a004aadeb?OpenDocument&Highlight=0,ni-tio

est ce compatible avec la PCI 6602 et NI DAQ?
OUI , parfaitement compatible.
Ci-dessous le lien où vous pouvez télécharger "User Manual" de la carte 6602. La page 27 du fichier pdf vous confirme ma réponse :
http://digital.ni.com/manuals.nsf/webAdvsearch/DD0DBB6404BC139886256721007CF16D?OpenDocument

Concernant la deuxième partie d
e votre question :
Quel signal faites-vous entrer dans la gate?
En vous mettant sur "enable", vous obtenez quoi comme signal?
Les exemples se trouvant dans les librairies LabVIEW (dont NI-TIO) sont adaptés à votre application.

J'attends votre réponse.

Cordialement

Sanaa TAZI
Application Engineer
National Instruments
0 Kudos
Message 5 of 8
(4,007 Views)
j utilise un géné exterene qui me délivre une impulsion
et je met enable le counter start triggers mais j utilise un vi gate avec l entree specification ou j utilise qelle numero de PFI j'utilise.
0 Kudos
Message 6 of 8
(4,007 Views)
je n obtiens rien si je met enable sur le counter start triggers

merci pour ces infos
didier
0 Kudos
Message 7 of 8
(4,007 Views)
Bonjour,

Je vous envoie un exemple adapté à ce que vous souhaitiez réaliser.
Merci de me confirmer si cela répond bien à votre question.
Pour avoir de l'aide sur ce cet exemple, allez dans Fichier>>Propriétés du VI et dans catégorie, sélectionnez : "Documentation".

Si cela ne marche toujours pas, il faut verifier la connectique de votre carte PCI-6602.

Sanaa TAZI
Application Engineer
National Instruments
0 Kudos
Message 8 of 8
(4,007 Views)