Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

gpib-enet /dev

Est-il possible d'accéder aux instruments via /dev/devx a partir de GPIB-ENET sous Solaris 8?
Ceci nous permettrait d'utilise d'anciens scripts utilisant cette methode avec des cartes PCi ou SBus, sans avoir a les ré-écrire.
 
Merci d'avance
0 Kudos
Message 1 of 5
(3,288 Views)
Is it a way to use /dev/devx to connect to GPIB devices with GPIB_ENET as with the PCI or SBUS GPIB boards under Solaris 8?
We could reuse some old scripts accessing to devices via this way.
Thanks.
0 Kudos
Message 2 of 5
(3,278 Views)
Though this is not recommended, yes, the Solaris driver does install /dev/devx files that you can write to and read from to perform GPIB communication.  The reason that I suggest not doing this is that it's not portable to other platforms, and we may change the fact that these files exist in the future.
 
Scott B.
GPIB Software
National Instruments
0 Kudos
Message 3 of 5
(3,270 Views)
The driver GPIB_ENET does not create the /dev/devx devices. We see them only on hosts using the driver for PCI or SBUS.
How to create them? Does first installing PCI or SBUS driver, then remove them (/dev/devx should not be removed) solve the problem?
Normally, those /dev/devx point to an hardware device on the local bus and such device does not exist on the host because we use an GPIB enet box. So, I not convinced this will solve the problem.
 
Thanks for your answer.
0 Kudos
Message 4 of 5
(3,269 Views)
I apologize for my mistake.  I was thinking of the PCI driver and didn't see your distinction above.  No, there is no way to get the ENET driver to place these /dev files because the ENET driver runs solely in user mode (making calls to the TCP/IP subsystem), and not in the kernel.  /dev devices are generally associated with kernel mode drivers.
 
This is another reason that you should use the standard API for GPIB rather than the /dev nodes.
 
Scott B.
GPIB Software
National Instruments
0 Kudos
Message 5 of 5
(3,252 Views)