Jimmy1125

Members
  • Posts

    66
  • Joined

  • Last visited

Posts 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. 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  

     

  4. 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

  5. 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

  6. 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

  7. 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?

  8. 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. 

  9. 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

  10. 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. 

  11. 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.