You are not logged in.
Hi,
While i am confirming everything is ready for WARPLab 7, as follow;
clear
N = 1;
nodes = wl_initNodes(N);
wl_nodeCmd(nodes,'identify');
disp(nodes)
I have following error:
Warning: Node 0 with Serial # 897 failed trigger test
In wl_initNodes at 199
Error using wl_initNodes (line 203)
Broadcast triggers are not working. Please verify your ARP table has an entry for the broadcast address on your WARPLab subnet
I also checked following suggestions:
All WARP nodes (I have two) and the host PC are on a common Ethernet switch.
The host PC NIC IP address is in the same subnet as the WARP nodes (10.0.0.x by default).
I am using WARPLab MEX UDP transport.
I still have same problem. If you have any suggestion i will appreciate.
Thank you.
Offline
WARPLab uses broadcast IP/Ethernet packets to send trigger commands to multiple nodes at once. WL sends these trigger packets to IP address 10.0.0.255 (when you're using the 10.0.0.x subnet). On most PCs the OS will automatically associate the IP address 10.0.0.255 with the broadcast Ethernet address FF-FF-FF-FF-FF-FF. It's possible your PC is not doing this automatically. Try adding the ARP entry (ARP maps IP-Eth addresses) manually. Assuming you're running Windows:
-Launch a command prompt as Administrator
-Run 'arp -s 10.0.0.255 FF-FF-FF-FF-FF-FF'
Offline
Dear Murphy,
I did your suggestion but it still has a same problem. You can find my ARP test as follows:
arp -a
interface 10.0.0.255---0xb
internet address Physical Address Type
10.0.0.1 40-d8-55-04-26-d6 dynamic
10.0.0.1 40-d8-55-04-26-d4 dynamic
10.0.0.255 ff-ff-ff-ff-ff-ff static
10.255.255.255 ff-ff-ff-ff-ff-ff static
and son on
Offline
10.0.0.1 40-d8-55-04-26-d6 dynamic 10.0.0.1 40-d8-55-04-26-d4 dynamic
That's a problem - there should not be two MAC addresses for one IP address. Do you have two WARP v3 nodes connected to your switch? Did you set the DIP switches to 0000 and 0001 (as described in quick setup)?
Offline
sorry i wrote wrong. It is
10.0.0.1 40-d8-55-04-26-d6 dynamic
10.0.0.2 40-d8-55-04-26-d4 dynamic
and also DIP switches to 0000 and 0001. Still same problem.
Offline
Something between MATLAB and the W3 node is blocking the broadcast trigger packet. You'll have to narrow down what is doing this. One debugging step would be to attach a second PC to the same switch and run Wireshark to capture all network traffic observed by that PC. You should see a broadcast Ethernet packet in Wireshark whenever the WARPLab M code sends a trigger.
Offline
Dear Murphy,
As you suggested I attached a second PC to same switch and ran Wireshark. I have some obvervations such as:
1) While WARLab M code sends a trigger, the second PC cannot observe anything by Wireshark
2) While I was pinging second PC all packets are lost and wiresharp in second PC has 'no response found'
3) I can pinging the Host PC using second PC. It works, all packets are sent and wiresharp in second PC has 'no response found' after first pinging request.
4) While WARLab M code sends a trigger, the Host PC can observe something by Wireshark
Do you have any idea what is the problem? What should i do?
Offline
Does your WARPLab PC have a firewall enabled on the 10.0.0.x interface?
Offline
For that I turned off the firewall but still i have some problem. Should i enabled on the 10.0.0.x?
Offline
Any firewall should be disabled on the WARPLab NIC.
You need to figure out what application / OS setting / NIC setting / switch setting is blocking packets between the WARPLab PC and other devices. WARPLab Ethernet triggers will not work if broadcast packets from the PC are not reaching the WARP nodes.
Offline
Dear Murphy,
I can not find problem which the blocking packets between the WARPLab PC and other devices. I also tried with different PC but I always have same problem. But, i can solve this problem by using my laptop with USP-Ethernet Adapter. Now it is working. Is this give you any idea about blocking problem. Thanks
Offline