06-28-2018 02:54 AM
hi, good time
i try for 3 week to write 6343 pcie ni cart driver, for matlab simulink real time(slrt).
i begin very simple function digital out for starting. matlab R2015b slrt not support x series ni cards but there is lot of m and e series driver for use.
i use 6229 pci driver for template to write 6343 pcie Because of their similarity
in DO i change this reg (board bar 1 ->0 , Static_Digital_Output 24 ->4 Static_Digital_Input 24->0 DIO_Direction 28->8 in hex)
but function not work
matlab slrt diver use s function ( c language)
what wrong ?
thanks
06-28-2018 10:40 AM
I know nothing of Simulink Real-Time, but the PCI-6229 and PCIe-6343 are quite different devices from a register-level perspective (the M Series MIO products use the DAQ-STC2 and the MITE bus interface; the X Series MIO products use the DAQ-STC3 and the CHInCh bus interface), and I wouldn't assume that an implementation for the PCI-6229 cleanly transfers to the PCIe-6343.
You'll probably need the X Series DDK Reference Manual from the NI Measurement Hardware DDK, which contains documentation on register offsets and values for the DAQ-STC3. The forum for the MHDDK is here.
06-28-2018 01:22 PM
thanks
yes i see that (ddk) but i find just that 3 differences
i ask this topic in new forum