Gustavo:
I talked with a Serial hardware engineer here at NI and we are confused by the pin wiring of your cable. Typically one would wire RTS and CTS together, and wire DTR and DSR together. Yours seems to mix and match these signals rather differently.
Truthfully, none of these 4 wires should matter at all as long as the device is not using hardware handshaking. NI-VISA asserts the RTS and DTR lines during viOpen. On Linux this calls ioctl first with TIOCMGET, then does a bit-OR with TIOCM_RTS and TIOCM_DTR, then calls ioctl with TIOCMSET.
On your computer, can you please verify that after calling viOpen, that pins 4 and 7 are asserted at the PC? The 34970 documentation does call for a standard null-modem cable, which as you
say works fine from a Windows box. Have you tried this from more than 1 Linux machine, or more than 1 version of a Linux distribution such as RedHat (which is what we test with)?
Since you have both a Linux machine and a Windows machine, can they communicate with each other using a standard null-modem cable? Can they communicate with your cable? Just use NIvisaic to open a session and try sending data interactively.
Finally, if things still aren't working, please send me any information you have available about the low-level serial driver, including anything you can get from the setserial command.
As I indicated in a previous email, we have tested Linux VISA with Serial on a RedHat system. I know of other customers who have gotten this to work. In particular, Ed Hill posted an unrelated question about VISA with Serial on Linux but got his system to work. I don't know how to contact Ed directly, but Ed if you're listening, please let us know whether a standard null-modem
cable worked for you.
Gustavo, if you'd like to reach me directly, send me email to dan.mondrik@ni.com
Dan Mondrik