|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Re: Trouble with spike and camera
That case structure is only providing visual feedback on the example's front panel. It plays games with the LED indicator on the picture of the Spike so it can have more than two states. Don't worry about it, and certainly don't copy it to your code.
All you need are the Relay Open and a RefNum Set in Begin.vi, and a RefNum Get and a Relay Set in Teleop.vi (or wherever you need to set the state of the relay). |
|
#2
|
|||
|
|||
|
Re: Trouble with spike and camera
Quote:
|
|
#3
|
|||||
|
|||||
|
Re: Trouble with spike and camera
Here's one way, ignore the name given to it.
![]() |
|
#4
|
|||
|
|||
|
Re: Trouble with spike and camera
How do we create the "Forward" and "Reverse" for the Teleop.vi? We are getting a boolean input and output and we dont know what to replace it with.
|
|
#5
|
|||||
|
|||||
|
Re: Trouble with spike and camera
On the Relay Set, right-click on the input node and choose Create -> Constant
Then break the wire and drag and copy/paste it wherever you need to place it. |
|
#6
|
|||
|
|||
|
Re: Trouble with spike and camera
Quote:
Here is the camera image btw for the person wondering.... It also freezes randomly. http://www.chiefdelphi.com/forums/at...2&d=1361311627 Last edited by hasin5 : 19-02-2013 at 17:10. |
|
#7
|
|||
|
|||
|
Re: Trouble with spike and camera
It expects us to put a boolean input (its orange - not blue) - therefore, we get an error when we connect it to the relay set.
|
|
#8
|
|||||
|
|||||
|
Re: Trouble with spike and camera
Start with a new Select and it will have several orange floating-point nodes and one green boolean node.
The first thing wired to an orange node will change all the nodes to that type color. Last edited by Mark McLeod : 19-02-2013 at 18:06. |
|
#9
|
|||
|
|||
|
Re: Trouble with spike and camera
we got the spike working!
now we need help with the camera -> we need to set it up for targetting. Last edited by hasin5 : 19-02-2013 at 18:04. |
|
#10
|
|||
|
|||
|
Re: Trouble with spike and camera
We had to restore our camera to factory settings and set it up again. Now it is not blurry, but we can not get an image to appear on the dashboard. Any ideas?
|
|
#11
|
|||
|
|||
|
Re: Trouble with spike and camera
I suspect the data rate on the dashboard is updating and you need to click on the dashboard camera setting and low the frame rate or up the compression until the communication is within the limits the router is imposing.
Greg McKaskle |
|
#12
|
|||
|
|||
|
Re: Trouble with spike and camera
We tried that and it doesn't work..
|
|
#13
|
|||
|
|||
|
Re: Trouble with spike and camera
Help me out with some symptoms, doesn't work isn't much to go on.
I assume you have a custom dashboard. If, open the diagram and probe some of the wires in vision to see what is running and what isn't. In particular, the Camera Read JPEG has an outer case structure, one for simulation, one real. On the real diagram, it reads from the camera and parses the string to convert the JPEG into an image. What is going on there? If the Mbps indicator is not zero, the camera is talking back but the issue is more likely with the activation of the vision component on that computer. You can use the NI License manager to try and activate it, or you can uninstall the NIVision stuff and reinstall the DS update. Greg McKaskle |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|