K & L LabVIEW programming

I am trying to remotely control a bandpass filter from K & L.  Their programming manual is very vague, and I'm new to these types of devices.  Their manual suggests that orders are simply strings of bits or bytes.

To obtain the status, byte 0 is set to 1 decimal place.  The order is byte 1 and decimal value 8.  Byte 2 is the size command, and then assign a decimal 32.  Byte 3 is set to 0.  So, I guess I want to transmit a command that is formatted as follows:

00000001000000100010000000000000CR

The box does not respond, and the connection times out.

I even tried to hex

01082000CR

And I didn't recover.  Does anyone have experience with Bandpass Filters K & L Microwave LPI who might be able to put me on the right track?

Thank you!

Do you have a manual of K & L?  I checked their Web site, but without knowing the exact model number, I couldn't find 'generic' information about their tunable filters.  Looks like your best bet (unless one of us has direct experience) is to contact K & L for more information.

Bob Schor

P.S. - the best way to 'tinker' with a device and try to see what makes it tick is to connect (you don't say what kind of connection you use) to your PC, launch MAX and see if she can 'see' your device (it can be on a port COM or Visa).  If so, you can easily send strings to it and see what, if anything, he returned to you.  You can easily experiment with end of line characters (does \r, \n, \r\n, \n\r?) and other things.

Tags: NI Software

Similar Questions

  • get the limits of the step of a sequence in a labview program

    I am writing a labview program to access the different properties of teststand sequences to automatically enter the data of the sequence for the documentation.

    The step.limits.high property is very difficult to recover from the teststand programmatically sequence by simply using the sequence as input file.

    Does anyone know how to get the limits on a stage in a movie file?

    Thank you very much, Mr President.  I'll take here.

  • SRS problem lock at the labview program amplifier with regard

    Madam, Sir, I have a labview program for SRS 830 lock in amplifier and problem is that the output is depends on the sensitivity... as we change sensitivity 500mv to 1v then exit hydro-huileuses changes. automatic gain function does not work. I'm so amazing that, about what the sensitivity, the output is correct. Please, help me to overcome this problem by starting the function of automatic gain. I enclose you than vi. When I run vi to autogain, then it displays an error and stop.

    'This error' mean? Time-out error or a parameter? If it is a parameter error, definitely check the manual to see if this is supported.

  • Investigation of the APT software and LabView programming

    Hello

    I'm new to LabView programming. I am currently using LabView 8.6. As you can see in the attached files, I wrote some code to synchronize the movements of axes X and Y of two controllers of Servo DC T-Cube using LabView programming. Now I'm tracing some Move_Absolute_Position data on graph XY in LabView. After that I sketched a movement of positions of engines, the graph only draw for the current position and erase previous data. Is there a way to track all the data on the chart? If you could give some examples, I would appreciate it.

    Best regards

    Jack

    JackBrown wrote:

    ... As you can see in the attached files...

    There are no attached files.

    To draw a story xy, the easiest would be to use the 'build xy graph express VI' and configure it to not erase the data between calls. You get this express VI if you place the xy graph in the express palette on the front panel.

  • Can I still change a LabVIEW program even if device drivers are not installed on the computer used for editing?

    Hello

    If I do not install device with LabVIEW drivers can I still change any given LabVIEW program created with this version?  Or do I need to install device drivers if I'm editing a program that uses these drivers?

    Thank you

    Dave

    What you reinstall? The dll is part of the traditional DAQ driver.

  • How can I buil labview program for the area and the curls on top of video analysis?

    LabVIEW program building...

    OK, but when I use the vision of nor, I got the box, but now I nead for this area, for example, obtaining a balloon with the analysis program video throug labview, not through vision nor do you understand me now?

  • How to make a LabVIEW program auto adjust the resolution of the window

    How to make a LabVIEW program that I wrote auto adapt to any size window.

    You have a few options in fact.

    Right click on the VI icon on front panel (top-right). Then select Properties VI---> window size.

    You can check 2 boxes it: 1 maintain proportions of window for monitor resolutions 2. scale all objects on the Panel before the window resizes.

    I think 1 is the one you want.

    If you are not satisfied by the results, do what I usually do. Create a different front for different resolutions by changing the resolution of your development computer. Detects on the resolution of the computer code target of your executable file, and then open the Panel before which best fits. If a PC has none of the resolutions you display a message that prompts the user to change the resolution, before it run your executable file.

    I hope this helps. I know it is one headache but what else can you do.

  • Run the Code Labview program on VN8970 vector material

    I would like to ask if anyone has ever tried to run the Labview Code on the material vector in Standaone Mode,

    The VN8970 have a PC as material and I would use as my hardware target.

    Labview programming would go toward, creating / establishing a controller which output is POSSIBLE only.

    Necessary sensor data is on the BUS CAN even output going to the CAN-BUS network.

    The vector hardware box 8970 should run with the Labview code inside and be just like a car engine controller, just a BOX knot...

    Can anyone shade some light on this topic because it is very difficult to collect all the required bits.

    Vector support won't help with that because that intends it to sell their own software, which does not fit this need.

    Far as I can tell the VN8970 has an ATOM processor or a core-i7 on board and running something called vector CANoeRT.

    From the VN89xx Manual:

    "The family of interface VN8900 offers a stand-alone mode that allows you to measure without any other PC user.

    To this end that a request can be configured in the canoe, which is then written to the NVM of the VN8900. After a reboot, the configura-tion is loaded and the measure began independently. »

    Canoe uses a programming language called CAPL. My understanding is that the code of the CAPL is downloaded on the series VN89xx materials and run directly on the device without the need to be connected to a PC.

    In other words, I don't think there is a way to get a LabVIEW code to run on a VN8970.

    The vxlapi.dll that is used here is intended to be used on a Windows operating system. You can use it to control the VN8970 similar to the other vector material, but not in standalone mode.   I don't know what OS runs on the material of VN89xx but I doubt you'd be able to install a LabVIEW run-time engine on it.

    I think your only option to run a VN8970 in stand-alone mode is to buy a canoe license that allows you to do and learn how to write the CAPL.

  • Help: A power supply using labview programming

    I recently saw entrust the task to our diet TDK Lambda with Labview programming work. It is IE to be able to set the voltage of 16V to 18V and adjust it back by 1 V every minute for an hour. No idea where to start, because I'm a bit lost?

    a bit of code to help you get started...

    of course, this reinforces the tension only and not launch into it...

  • Find the number of license for LabVIEW program?

    Hello
    My name is Cleber, I am of the Brazil.
    I'm trying to find a role in the LabVIEW programming that I return the license number and the user name for the license. In vain so far. I thought I returns the ofLabVIEW type installed, but I need this information for my program is finished.
    Can someone help me?

    Thank you.

    Is that what you are looking for?

  • interaction between 2 labview programs that are running on two separate computers

    Hello

    I have two separate computers and 2 labview programs that run on each computer. labview program is ready for the acquisition of data and the record of the acquired data in a computer. now, I want to send these data acquired by cable to another computer to be processed. first of all, I'm looking for the best protocol to send data between two computers. It is important for me to diliver data near real time about in miliseconds. and finally it is necessary to have any particular type of software?

    Best regards

    Hi farashi,

    you want "diliver data near real time in miliseconds."

    Even a GigaBit-LAN has latencies of 100 milliseconds...

    When you search for a Protocol, you can read some articles in the knowledge base is located at the Web site of NOR.

    And according to the volume of data, you should consider to send data using DataSocket...

  • LabVIEW program works on a single computer, but does not work on another.

    We have a laptop running a custom data acquisition program that has been done with labview by an external company. It communicates via ethernet with a box full of material national instruments that is connected to some sensors. While it works fine on the laptop, try to install the software on other computers results in the following error message "year error occurred while trying to open the configuration file"C:\program files\ (program name) \data\ (name of our company) fieldpoint.iak. This error occurs whenever we try to open the settings page of test or run a test. I checked that directory and the file is actually there.

    New computers (we tried several) always have difficulty connecting to hardware via ethernet, and if you look at the network activity in windows, you can see a whole bunch of packages sent but only a little if any course of reception. I wonder if there is a network configuration problem? I tried with the settings as much as I can find, but nothing helped.

    The company that made the software does not meet the emails.

    Any ideas would be greatly appreciated!

    A thinking hand: the file you are trying to read is a FieldPoint config file. I don't know if the FieldPoint configuration file format changed with different versions of FieldPoint. You may not have the same version of FieldPoint installed?

  • smartphone with labview programming

    is it possible to run programs that I've written in labview on a smartphone? (iphone/android/new windows 8?)

    is it possible to program a smartphone with labview?

    Your questions were asked before several times. Please search before asking a question to see if it has already been covered or partially answered.

    With regard to your questions:

    NO.

    and

    Laughing out loud

    The LabVIEW Embedded Module has been designed to work with Windows Mobile, but not Windows phone (what Mobile has been transformed in). Several ideas exist in the exchange of ideas of LabVIEW in this regard. OR (supposedly) works on them, but have not announced anything. In the meantime you can try to use something like this:https://decibel.ni.com/content/docs/DOC-19387 or this: http://sine.ni.com/nips/cds/view/p/lang/en/nid/210042

  • LabView program for lock-in-amp

    Hello

    I have to read the voltage level of a Lock-In-Amp and on the other to read the magnetic field of a Gaussmeter, simultaneously. After that, I should I establish a curve of respect of tension on the ground. Please give me some tips to write a good program with LabView to the stated purpose.

    Records,

    The program to read from the hardware depends entirely on the hardware you have.  Should what commands you send?  In what format the data is returned? (Your next step is to 1) check with the manufacturer to see if the LabVIEW drivers available or 2) to determine how to communicate correctly with the hardware.

    After that you are able to read a value from each of the devices, the next step is to place them in a loop and the wire to a chart.  (loops are graphics are basic and there are a lot of examples).

    Now another question; you said you're tracing the curve tension against the magnetic field, then how we control the field?  Do you also need to add the control of the magnetic field?

  • Collection of data from more than an instrument via the same labVIEW program

    Hello

    I have a program whereby I collect data on a scale of and save the data in the text file. Now, I need to collect data of three identical scales and save the data. I wonder if it is possible to do so in the same program? I mean how to manage three ports and save three different text files?

    I enclose the current program. Communication with the scale series and I use VI:s. thanks in advance for the help = VISA)

    This is easily possible with a single program, and there are several ways to do so.  I recommend the following:

    1. Take data from these devices in a separate loop (this could be in a separate - VI, as well).  These loops should be state machines if you can start and stop the acquisitions in a clean way.  This assumes that the instruments are on separate ports.  If they are on the same port, you probably want to use the same loop.

    2. Write to the file in a single loop.  This, too, should be a state machine.

    3. Queues to send data from the acquisition of loops to the loop of file I/O.

    4. Use still another loop for your user interface.  It must contain a structure of the event.

    To do this, you will need to learn more about the State machines and producer/consumer architectures.  Start with the help of LabVIEW, then search these forums.  There are a multitude of implementations of State machines and producer/consumer architectures.  If you have the time, I highly recommend you learn and to use the classes in LabVIEW (requires LabVIEW 8.2 or later).  This will facilitate your work in the long term.

    Let us know if you encounter any problems...

  • A (brand/break) switch in labview programming

    Hello

    I'm trying to replicate a physical switch in labview. This switch is dependent on the pressure. I.e., when the pressure reaches a certain threshold, the circuit of the switch is made, and when the pressure drops to a certain limit, the circuit is broken. The pressure is measured with a transducer with output voltage. In addition, the switch has an output voltage too.

    The way I'm trying to represent it is programmatically specified below,

    When the pressure is tilted up to the limit of some, the switch circuit is complete (en) and a green light on the control panel. And when the pressure is tilted up to a certain limit, the circuit of the switch is broken, and the green light turns off.

    One way I can maybe do this by the presence of two assistants to acquisition of data, one pressure reading and the other voltage reading; have data output through a case structure and have the luminous glow when the circuit is realized. - AND, at the same time, the pressure on the other display assistant DAQ at this stage. If it is the 'simple' and 'good' how to do it, that I must have some connection (relationship) between both the DAQ asisstants so that the value of the pressure at this time of 'full circuit' is displayed (?)  or can I run independently and still achieve?

    Can anyone share their thoughts on this program?

    Thank you

    RP.

    Working from the example of .vi sample report (Word), we have been able to implement the block diagram below.

    Looks like there are some other aspects of your project to be considered, RP.  For any other questions, we will continue to work on our open service request.

Maybe you are looking for