03-19-2014 04:54 PM
Does anyone have an example on pickering 40-575 matrix to set a pattern to close multiple relays?
I try using a for loop to set one relay at one time but it seen to open the closed relay when setting the next relay in the array.
Thanks in advance.
Solved! Go to Solution.
03-20-2014 01:38 AM
In a previous project, I used a 40-512-022 matrix without any problem.
The matrix is controled through the pi40iv library from pickering.
Please provide more details or post your code.
03-20-2014 09:09 AM
I don't have any code to show but I tried to use pipx40 set and get pattern or any pipx40 VI that can close more than one relay at one time. The manual shows other program languages using string as an input (1 - 1, 1 - 2) row, column but the pattern VIs input is an integer. I would like to see an example how to use pipx40 pattern VIs.
03-20-2014 09:55 AM
I can't help you with pipx40.
Someone else ?
03-20-2014 11:24 AM
You are much better off using the IVI driver for the pickering.
Now, a lot of people don't like it because "it just doesn't work." That is because of an unfortunate default value on an optional input ( I foget exactly which one but, its a string) you need to wire an empty string constant to the dratted vi from your calling vi to get it to work right.
(Won't Pickering ever fix that?)
03-20-2014 11:29 AM
03-20-2014 12:55 PM
I'm new to pickering and IVI drivers. Can you provide an example?? My goal is to set multiple relays at one time.
Thanks in advance
03-20-2014 01:18 PM - edited 03-20-2014 01:19 PM
Ah, see page 71 of the help file for that bad default string. The documentation is rather good
03-21-2014 02:04 PM
Thank You!! It's working.