Jimmy1125

Members
  • Posts

    66
  • Joined

  • Last visited

Everything posted by Jimmy1125

  1. Hello, So after some testing, I believe my problem may be with the Ljtick-DAC. If I do the basic sample then I can stream okay. After this I close out DAQ and open the LJTicDAC utility and set Davao to 2 and dacb to 0 and my vfd will turn on. While running I load DAQ back and no streaming. After shutting down the utility, I have to close out everything and reboot my computer to get it to stream again. Is it possible that the LJTicDAC got messed up from shorting a wire out? It still puts out voltage to run vfd but kills the streaming. Also, could you pass this on to Labjack if need be for there input? Thanks Jim M
  2. So I already changed my script to ID=1. I went on as you said and first thing I get is an error in startup line 2. You had d: drive. I changed to my C drive. Nothing shows in my table and the light stays green. I uninstalled and reinstalled Labjack and still nothing. I started with a new project and followed the example in the Labjack for DAQFactory and I get data streaming in. I’ll progress forward, one step at a time and see where the problem lies. Thanks
  3. This is very frustrating. I created a test ctl as per manual and it will stream fine. I open my other ctl and nothing. I close that and go back to my test ctl and it doesn’t work. I’ve included the try catch provision, even though I have no Labjack driver folder in the 64 but file.
  4. Hello Still having trouble streaming in DAQFactory. Everything works fine in LJSTREAMUD and works with the example given in LabJack for DAQ manual, but not with my .CTL. Would you look and see if I'm doing something wrong in my sequence. I use the startup sequence and then I tried my startstream sequence but my channel table is not getting populated. SHOCKDYNO.ctl
  5. I can’t get anything to stream. Even with timing set to 0.1, the outputs look erratic. I’m thinking I probably did damage to the Labjack when it shorted. I’m going to order a new one and start over.
  6. I don’t understand why it just stopped working. I didn’t change anything in my scripts. It was working fine before, then it wasn’t. That script is just as it says in the Labjack with DAQFACTORY manual.
  7. here is my basic .ctl file. I can't get my channels to stream any data. Could you try and see if there's a problem with this? thanks JIm M ShockDyno.ctl
  8. Even without seeing my .cal document, I can’t even get it to stream by following the example in the manual. It’s definitely in the software. After talking with Labjack, I can stream in LJStreamUD. I’m going to try reloading the software and see.
  9. Hello I have a U3-HV. After working on redoing my sensors, the streaming will not work. I haven’t changed anything in my sequence. When calling startStream, it comes on for about 3 seconds and stops on its own. There is no stop stream in the sequence, so it should keep running. I tried the example in guide with a 2d graph and buttons and nothing. If I change timing to anything but 0, I get data, but not when I try to stream. I don’t know if it’s a DAQFactory problem or a Labjack problem. I can see values change in LJControl Panel so it seems to be in DAQ. I will say that I had an accidental short from power to ground through my load cell shield wire to the frame of my shock dyno. It didn’t blow any fuses and the sensor was not hooked up, but don’t know if it sent a charge into Labjack through the ground connection. As I said, it works with any timing but 0 for stream. Is it possible that it corrupted the programming of either DAQ or Labjack? I reloaded Labjack firmware but still doesn’t work
  10. Just to be clear, when you put startStream(), are you meaning to put the actual streaming commands? Same with bdc(). Instead of starting my stream sequence, you want me to put in the commands from that sequence directly in cvpplot.
  11. Thank you. I will try that. As for the tooth count, I’m a lot slower than 3000 rpm. I’m running through a 25/1 gearbox and a vfd, which is controlled by the LJTicDAC.
  12. I'm trying to read a counter that is counting teeth on a trigger wheel. I want the wheel to turn 2.25 times( count of 131) and then slow down so it will stop at counter of 175. I'm streaming three other channels and post processing that data but the counter is what controls how many times the wheel; turns. I can use my stroke channel to return the wheel to where I want but it isn't always consistent. With that said, can you look at my sequence cvpplot. It's acting weird. If I use a delay of 1.2, the wheel will stop on second turn at the spot called in my bdc sequence. If I increase it to 1.3, it turns 4 times and overshoots and stops on the other side of bdc. I would think that I could creep up on the delay until I get it where I want. SHOCKDYNO.ctl
  13. Seems like a lot of work just to count some teeth on a wheel and control a d to a output.
  14. Also, would this work better in the channel event for the counter? Currently I’m trying it in a sequence, which I’d rather have.
  15. Is it a problem with streaming and trying to read a channel at the same time? It seems like it’s reading the stream first and then the channel because by that time it’s already beyond the counts I want. I’ve looked at the channel table and it shows the counts increasing, but it just seems like the sequence is not picking up the counts until later. I tried streaming the counts channel at the same time and that doesn’t help. Can you give me an example? I tried different things. while(1) If(counts channel[0]<175) also tried while(counts channel[0]<175). Etc but can’t get it to work right. Thanks
  16. Yes. Rawcounts goes above 175. Usually around 352 or so. No global variables. I’ll add the ? And see. Almost seems that it doesn’t read the channel fast enough. Maybe because of streaming? If I make a sequence with an ePut to start vfd, then do a while statement, it works okay. Definitely a learning process.
  17. Hello! I’m having a problem with a while loop. It gets stuck and won’t continue onto the next part of my sequence. while(Rawcounts [0] <175) Read(Rawcounts[0]) If(Rawcounts[0] >131) ePut…I slow my LJTicDAC output) Endif Delay(0.2) endwhile I’ve tried it with and without delay. Am I missing something here? Thanks Jim
  18. Hello, As a follow up, does an if statement only evaluate one time? I believe that is my problem. The sequence runs through and checks once and the value isn't met and it just ends the sequence. I assume I need to put a while(1) before the if to keep it in a loop until the value is met? On another note , all of a sudden i'm getting a communication failure message. previously it was intermittent and I paid no attention to it but now it won't communicate at all. I tried it in LJ control panel and things work fine, but not in DAQFactory..any ideas?
  19. I tried using a separate sequence to do that but for some reason it wouldn’t work correctly. Seemed like the sequence would get kicked out at some point and not execute the rest of the lines. By that I mean, I would watch the sequence in the workspace and the black line showing the sequence running would disappear before it was finished. Tried a few different things and couldn’t figure out why. Thought a channel event might work better.
  20. hello Is it possible to use the event of a channel to control my LJTic_DAC? I have a 60 tooth wheel and want to rotate it 140 teeth. if I use an if statement in event with appropriate LJ command, will that work? Im using rawcounts channel to count.
  21. That’s fine. Didn’t know that. Still learning. Thanks for all the great advice.
  22. Thanks, I’ll read up on that. As far as channel names, I’d like to have 2different names for the same channel. One I can stream and the other I can set timing to something like 0.01 to put in a variable value box for real time readings. So I would have a channel named force on channel 0 with timing of 0 and one named force1 on channel 0 with timing of 0.01. Then I can stream force and put force1 in a variable value box. Thanks
  23. Hello. Apparently I must have done something wrong resetting because when I went back it was working. Is it possible to stream the rawcounts channel? I want to use it in post run data processing. I need it to line up with my streaming channels. I don’t think it will line up reading at 1second intervals when I’m streaming at 1000/ sec. Also, can you use the same channel with a different name? I’d like to use some variable value components to display real time readings.
  24. Crazy! I went this afternoon to try and it was working fine. Don’t know if it was an issue with the way I tried resetting it but all is good. Next question I want to use my rawcounts in my post-process data processing. Can I stream the rawcounts channel? I want to be able to filter my other channels based on the rawcounts. Since it’s set at 1 second timing, Compared to my stream of 1000, I don’t see how my data would line up properly. Also, can I have the same channel with different names? I want to stream them but also setup a variable value component I can watch live.