02-04-2020 03:40 AM
Bonjour
Nous cherchons à utiliser la carte PCI-6221 en lieu et place de la carte PCI-6010 qui est obsolète
Nous utilisons sur la carte PCI-6010 les pins suivantes pour des remontées de signaux :
Sur la carte PCI-6221 la correspondance de ces PINs est la même d’après la documentation technique :
Or nous constatons que les signaux remontés via la PCI-6010 ne remontent pas avec la PCI-6221, sans aucune modification de notre environnement de test (la carte est installée dans le même slot PC).
Pouvez-vous nous svp nous indiquer si un paramétrage est requis pour faire fonctionner la PCI-6221 à l’identique de la PCI-6010 ?
Le cas échéant pouvez-vous nous envoyer la procédure svp ?
Merci pour votre retour
Solved! Go to Solution.
02-04-2020 05:17 AM
Are you using the pins for digital I/O? The corresponding pinout for the 6010 shows that those PFI pins are used by digital port 0 rather than port 1.
Or are you using them for counter tasks? The default PFI pin assignments for counter functions may also be different. More info here.
You can make it work without cabling changes, but will need to be able to change your task configuration(s). This may require a small software change, unless the task(s) were defined in MAX.
-Kevin P
02-04-2020 10:37 AM
Hi Kevin
We are using the PINS for digital I/O
With 6010 we are able to see state change on Port0/line0:5 using the test panel (digital I/O) when we enable input physically
With 6221 we do not see any state change when we check Port1/line0:3 in test panel
What did we miss ?
Thanks
Guillaume
02-04-2020 12:07 PM
I don't think I've ever used a 37-pin version of an M-series boards, but based on the pinouts what you tried should have worked. I can't think of anything you might have missed.
-Kevin P
02-05-2020 11:07 AM
Hi Kevin
We are able to see a state change if we apply a 5V pull up voltage (for instance on PIN 32 => PFI 1)
On PCI 6010 we did not need to apply pull up (we measure 3V by default on the same PIN)
Is there a way to configure pull up internally with PCI 6221 on digital inputs ?
Thanks
Guillaume
02-05-2020 11:23 AM
I just used MAX to create a *simulated* PCI-6221. The "Configure..." action brought up a window that allows you to choose a power-up state for your DIO lines or choose to tristate them. Tristate should be enabled when you know you'll be using these as input lines. I'm not sure (but you can experiment to see or maybe find the info in the manual) if you also choose a particular power-up line state whether that'll engage any pull-up or pull-down resistors.
-Kevin P