08-31-2011 10:21 PM
09-01-2011 08:15 AM - edited 09-01-2011 08:15 AM
SK0480,
Try wiring a constant (let's say 3) to the for loop instead of using your number of steps control and make sure that works.
Regards,
Renee Michaud
09-01-2011 11:24 AM
@SK0480 wrote:
When i run the program the for loop iterates only once and thats about it. the leds change state only once. when I run the program only one nibble comes out
I thought you only wanted one selection from the array? This will then go to your indexer to drive the coils. Is this not right? You need to be more clear on what your requirements are, exactly. Do you want to index the array at or to a certain point, say from row 0-2 (If Number of Step control is set to 3)? I'm not sure what you need.
09-04-2011 11:02 PM
Hi
This program you gave me does work but it has a glitch and I just cant figure out how to fix it....
The logic you have work for the true case but for the false case it does not work correctly..
For the true case the index that comes out is 1,2,3,0. for the false case the sequence should be 0,3,2,1-but the way it comes out is 3,2,1,0. what should I do to make the index come out to 0,3.2,1 for the false case.
where index 0 is the first row of this boolean matrix and index 1 is the last row of the matrix...at least this is what I have noticed when looked at the led display.
09-06-2011 04:10 PM
SK0480,
I've modified your gravy.vi file to give the indexing as you have mentioned. It's attached to this message.
Regards,
Renee M
Applications Engineer
National Instruments
06-07-2013 11:22 AM
i have a question. i want to connect pic 18f4550 with PC. i use USB-HID protocol. but i don't know how to do link between code ccs and code in Labview.this mean how variable in labview and variable in ccs connect together . can you help me solve this problem.please?
06-10-2013 04:06 PM
This is a completely unrelated question and should really have a new thread started to deal with it. Creating a new thread will make it easier for people to find your question and answer it.
There are already existing threads that discuss working with the 18f4550, such as this one. I would read through some of these first and then create a new thread if you still have questions.