Digital Potentiometer control in Labview with Field Point Unit

Hi..
I need some help on programming the LABVIEW to control the digital potentiometer. 
It is AD7376 which 4 channels are used to control the digital potentiometer, and Field Point Unit FP-DO-403 thr. RS232.
– Channel 0 (POT_D), Channel 2 (POT_CS), Channel 3 (POT_Clk), and Channel 7 (POT_R).
-SDI (serial data input) contains 7 data bits. The first is the MSB.
-ClK provides the correct time reading the serial data.
-CS (chip select) only allows the reading of the data. CS is on 0 during the loading. POT-CS is used when 7 bits data is finish loading.
- POT_R is used as CLEAR.
 After the calculation depending of the different conditions, 7 data bits data is created and changed to the opposite numbers (1-->0, 0-->1).
For example; if the calculated binary number is 1001011, the the output 7 bits data is 0110100
so Those data has to go to SDI (Channel 0 (POT_D)) starting from 0110100 and for each bit CLOCK has turn on and off to shift the bits controlled by Channel 3 (POT_Clk).
For example,
0 ---> POT_D then POT_Clk -->On/Off
1---> POT_D then POT_Clk -->On/Off
0---> POT_D then POT_Clk---> On/Off
Can this be done automaticaly? Could you help me on this?
I was able to program it until producing 7 binary bits (refer to the attached file) but by Giving 7 different bits at once to ONE channel, I get error..
Message Edited by Black Comb on 11-01-2007 08:51 PM
Message Edited by Black Comb on 11-01-2007 08:54 PM
Attachments:
AD7376toBIN44.vi ‏49 KB

Black,
Here is a concept for how to do it.   Did not have time to look at data sheet for IC but this should be a good starting point.
Attachments:
Create inverted 7Bit Array.vi ‏19 KB

Similar Messages

  • Hello, I have created a distribution kit for my program.The problem is that the when the program is installed onto another computer, it fails to communicate with field point (Using FP-AO-200 and FP-AO-1000). Help is greatly appreciated, Thanks faen9901

    Hi Everyone,
    I have a program that sends information(analog output) to lab windows cvi in the form of a text file or user input.
    The program runs on the computers that I have the field point explorer and lab windows cvi installed on. In order to run the program without always installing labwindows/cvi and field point; I wanted to create an executable file that could be load on another computer.
    I used the create distribution kit part of labwindows/cvi to do this.After creating the distribution kit, I then installed it
    to another computer.
    My user interface appears on the screen, when the user clicks on the exe. file, but no data is sent to the field point module. I know that the data is being read from the user and textfile because in it appears in the uir.
    The following are some details about the problem:
    1. On another computer without labwindows/cvi and field point explorer not installed - no data is sent to field point module
    I know this because a current is being read on the current meter connected to field point module.
    My questions are the following:
    1. What are the possible reasons for the data not being sent to the field point module?
    2. Do I still need to create an iak. (Installing Field point Explorer) file stored on any new computer that I install my created distribution kit file too?
    Thankyou very much for any help that you can provide. I greatly appreciate it.
    Faen9901

    Re: Hello, I have created a distribution kit for my program.The problem is that the when the program is installed onto another computer, it fails to communicate with field point (Using FP-AO-200 and FP-AO-1000). Help is greatly appreciated, Thanks faen9901Faen9901,
    1) If you do not install FieldPoint Explorer, the FieldPoint Server is not installed so there is nothing on the target computer that knows how to talk to the FieldPoint system.
    2) Yes, you need an IAK file on the target computer. Assuming the settings (i.e. com port#) are identical you can simply include the iak file as part of the distribution.
    3) You also need to include as part of your installer the file "fplwmgr.dll". If this file is not installed, your program will not be able to access the FieldPoint Server. Alternatively, this file is installed automatically if FieldPoint Explorer detects LabWindows/CVI or Measurement Studio Development versions on the target computer or if you choose to do a custom FieldPoint Explorer installation and
    choose to provide LabWindows/CVI support.
    Regards,
    Aaron

  • How do I invert meter in labview with needle pointing downwards

    Hi,
    I need to invert meter in labview with needle pointing downwards .
    Can somebody guide me?

    Try rotating the scale.  The needle will follow the scale.  This should help.

  • I want to access LabView and Field Point Library through Visual Basic. Where can I find adequate information considering that I am just an starter.

    My aim is to have a ActiveX Control on a web page that can control the field point hardware as a small step towards home automation through the internet.

    The place to start is here :
    http://sine.ni.com/apps/we/nioc.vp?cid=3769〈=US
    This is labview's measurement studio homepage. This contains component works which is a toolkit for visual basic. This should give you all the info you need to get started.
    Jared

  • Accelerome​ter with field point

    Hi,
    I need to use the Field point system for mesure the vibration, what's module whith module i must utilise?
    N
    Bytelabs.it

    Hi Nicola,
    First you have to have in mind that FieldPoint is a line of distributed I/O modules, a I/O module is not a sensor, but a device that acquires a signal from a sensor.
    Having that in mind the FieldPoint I/O module to be used will depend on the sensor that you choose to measure vibration. There are several sensors to measure vibration and therefore they vary on the type of output signal they provide. Some accelerometers will provide a "duty-cycle output signal" as you can see in the following page :
    http://webs.cs.berkeley.edu/tos/hardware/design/da​ta_sheets/adxl202lcc.pdf
    Some other accelerometers will provide voltage or even current as an output, so really the FieldPoint I/O module that you will choose will depend on which type of sen
    sor you use.
    The modules that I believe will match some of the sensors in the market for vibration include :
    [c]FP-AI-110, [c]FP-AI-111, [c]FP-AI-100 for analog output sensors.
    [c]FP-CTR-50x for frequency output sensors...
    However have in mind that even if you find a frequency output sensor for vibration, you still have to check if the sensor matches the [c]FP-CTR-50x as far as two important factors :
    - Sinking or sourcing
    - Threshold
    I hope it helps
    Best Regards
    Andre Oliveira

  • Can FTP-access to field point log file interrupt the running program?

    Can FTP-access to field point log file interrupt the running program?
    We have a problem where our factory process control program on a Field Pointer suddenly stops the process. We are running the development system on a PC, wich deploys the program on the Field point, with user interface on the PC. Quite often the process stops for no apparent reason. I'm not sure right now if the control program on the Field Point is still running or if it stops. We use FTP from a distant PC (over VPN) directly to the Field Point to check if the process is running, by looking for date and size of log files produced during running process. I've never opened och copied any log file during process run, because this I'm sure this would cause problems for new log entries to be written. But can the mere looking at the log folder via XP-pros ftp-functionality cause the Field Point to have problems writing data to a log file?
    I'm not sure how windows XP pro handles "my network places" when it comes to FTP, it look that it keeps some kind of local copy of the folders, or at least the files opened.
    Next version of the program will have only basic functionality on the Field Point, leaving logging etc. to another program on the PC, but right now we are stuck with this system.
    Ola A

    It turned out that the problem lies in the harware of the production machine, it was not a labiew-program problem at all!
    Ola

  • Can I collect the pulse data using Field Point?

    I have a water flow meter, which outputs pulses. I use a counter to connect it and read the data. Now, I want to read and save the data in the computer using LabView and Field Point. I think this can be done if I can collect the number of pulse. I am wondering how to do that.
    Thanks.

    Dear Zl,
    Counting pulses is much easier with the FP-QUAD-510 or FP-CTR-500, but can be done with the FP-AI-110.  You can't directly count the pulses with a FP-AI-110, but you can do it in software. Bring in the data by doing a normal read. Then, using shift registers, if the previous voltage is less than .8V (low) and the current voltage is more than 2.5 (high), increase the pulse count. I have attached a program that shows what to do with the data once you bring it in. I took the data from an array outside the while loop, but your data will be brought in one point at a time inside the while loop. One thing to take note of, since Fieldpoint brings in data at 1 kS/s, this will only work with pulses slower than 500 Hz. The farther the duty cycle is away from 50% duty cycle, the slower the signal must be in order to catch the pulses correctly. Please let me know if you have any questions. Have a great day!
    Sincerely,
    Marni
    PS- Please only post question once.
    Attachments:
    pulsecount.vi ‏22 KB

  • Does field point have pulse train output greater than 50KHz

    I am trying to develop a flexiable simulator using NI Field Point. So far my only concern is producing a pulse train of around 500KHz. Is there a way to do this with field points counter moudles or with some other methodology

    There are currently no FieldPoint IO modules that output greater than 16 kHz. Specifically, the following modules can output at the listed maximum frequencies:
    FP-CTR-500: 16 kHz
    FP-CTR-502: 16 kHz
    FP-PWM-520: 1 kHz
    FP-PG-522: 2 kHz
    You could use some external signal generation circuitry that is controlled by the FieldPoint modules, but the FieldPoint modules themselves can not handle that speed.
    Regards,
    Aaron

  • The field point 4.1 software does not get installed, how to install the software and work on field point 20xx

    We want to know the basics of installation of field point s/w and where to start from after installation.
    Then we also need the details of HOW TO WORK in it. what are the other hardware and software that are necessarily to be installed along with field point in the PC. How to connect the hardware fp2000, to the PC.
                      Actually we tried installing the field point s/w, but we did not get the field point explorer icon to continue working.

    Hi.
    You can find informations in the NI Developer Zone (Distributed I/O -Fieldpoint)
    http://zone.ni.com/devzone/devzone.nsf/webcategories/67EFA8729F4A7741862567E1006EDA74
    and here for the Basics:http://zone.ni.com/devzone/conceptd.nsf/webmain/2124F6BBD29663D886256CB80054DBD7
    Configure your fieldpoint in MAX.

  • Compact Field Point with Touch Panel

    Hi.
    Have anyone designed a NI Compact Field Point or Compact RIO with a connected Touch Panel Monitor?
    I have an instrument with RS232 output (serial data). Since I am using LabVIEW 8,   
    the executed application should run in Embedded WinXP. But, I need a touch panel for control and monitoring.
    I would appreciate any advise please.
    Thanks in advance.
    Bon

    Hey Bon,
    What kind of information are you looking for? NI sells a TPC 2006 device which is a touch panel and runs windows CE. This device can be programmed using LabVIEW PDA. This device has a Ethernet port so that you can also communicate to the cRIO or the cFP. Is this what you are looking to do? You can call in on (888) 280-7645 and a sales person would be able to understand your application much better and advise you accordingly.
    Regards,
    Chetan K
    Application Engineering
    NI

  • What are the limitations of using labview 8.5.1 developers suite verses a real-time module in field point applications?

    What are the limitations of using labview 8.5.1 developers suite verses a real-time module in field point applications? Can an exe. be loaded onto a field point controller or does the controlling program have to reside on a PC for example?

    centerbolt is correct, you can't load a .exe or even run a program on the fieldPoint controller unless you have the Real Time module.  However, that does not mean you can't use your FieldPoint bank without the Real Time module. 
    From LabVIEW for windows you can make calls to the fieldpoint IO using the fieldpoint read/write functions. 
    This program runs on the PC not the FieldPoint controller.  If you loose network connection to the fieldpoint, your program will loose connection to the IO.  For many data logging applications this type of arrangement can work just fine.  However, if this is the only type of application you are ever going to run, then you may as well not buy the Real Time controller for your fieldpoint but the network controller only. 
    If your application requires more reliability, and/or greater determinism than can be achieved by running a program on windows, then you should use the LabVIEW Real Time module and develop a program that can run down on the FieldPoint controller independent of windows.
    Message Edited by StevenA on 07-22-2008 04:14 PM
    SteveA
    CLD
    FPGA/RT/PDA/TP/DSC
    Attachments:
    fp pallet.PNG ‏6 KB

  • How to detect keystroke and control a digital potentiometer?

    Dear All,
    I want to use PCI-1200 to control a Xicor X9C103P digital potentiometer.
    The procedure is as follows: If the computer detects any keystroke from
    either UP or DOWN arrow keys, it send a chain of digital signals to a
    digital potentionmeter to increase or decrease its resistance accordingly.
    Each keystroke control the potentiometer to change a fixed amount, say,
    around 500 Ohm. How to detect these keystrokes using LabVIEW and
    send to digital potentiometer through PCI-1200?

    If you are refering to the ability to capture user key strokes you will need to add a listener to the class. If is a matter of is it a charater or a number then look into isDigit. Or are you trying to capture Hot-Keys? Please specify and will see if we can help - Bart

  • Gsm modem with compact field point

    Hi,
    I need to acquire and send data via ftp using a Compact Field Point (there no possibility to use a lan connection or a phone line). I think a possible solution is the use of a GSM modem. Is it possible to connect the CFP to a service provider and access it via ftp (or web server)?
    thank you,
    paolo.

    Paolo Squillari wrote:
    Hi,
    I need to acquire and send data via ftp using a Compact Field Point (there no possibility to use a lan connection or a phone line). I think a possible solution is the use of a GSM modem. Is it possible to connect the CFP to a service provider and access it via ftp (or web server)?
    thank you,
    paolo.
    Hello Paolo
    I have recently been faced with a similar situation. We have a cFP that is in a remote location and being used to log data and control a vacuum system. We also considered the GSM tool box suggested above, but found that it would be too expensive for the actual functionality we required of it.
    Insted we have written our own vi's to send GPRS email etc.
    If you need help regarding the proceedure etc just ask
    Jan

  • End of memory. Labview + Real time module + Compact Field Point 2120

    My name is Michele Ciampichetti, I'm writing from Italy.
    Frist of all, excuse for my english.
    This is my first experience with Labview, and the application is not so easy. We use Labview 8.2.1
    Our system is costituited by two different parts: there is a Compact Field Point 2120 as remote target whit some I/O card, and a PC used to releave data and memorize them (host).
    The comunication between the two targets is performed by ethernet lan with Shared Variables not bufferized and not real-time fifo.
    The problem is this: the sistem requires a big number of Vis and Variables (about 20 Vis per target and 50 variables localizated in 5 different librarys all in the remote target), and it should store data, acquisited by the FieldPoint, on a database (SQL Server 2005), one time per minute. This storage is made by Labview Database Connectivity Toolkit, and it work correctly. The problem is an excessive consumption of RAM on the PC.
    The question is this: The use of many shared variables or vis, bring the memory to always grow? I try to explain myself. When we start our application, after the first minute and registration on the database, the memory grow of approximately 1,3 Megabytes. This is repeated every minute, and after approximately two ours, Labview break down and display "Not enought memory".
    We look the on-line help for one solution, and we have found that the variables (local and shared), the concatenate funcion, the array and Vi indicators copy in memory their older value when updated. Is possible that this is the cause of our problem? There is a method to avoid it? How labview uses memory? It is possible set it up for not maintain older value in memory?
    We need to run the application up to 4 days for complete its work, is a long test for a climatic room.
    We're looking forward to hearing from you.
    Best regards
    Michele

    centerbolt is correct, you can't load a .exe or even run a program on the fieldPoint controller unless you have the Real Time module.  However, that does not mean you can't use your FieldPoint bank without the Real Time module. 
    From LabVIEW for windows you can make calls to the fieldpoint IO using the fieldpoint read/write functions. 
    This program runs on the PC not the FieldPoint controller.  If you loose network connection to the fieldpoint, your program will loose connection to the IO.  For many data logging applications this type of arrangement can work just fine.  However, if this is the only type of application you are ever going to run, then you may as well not buy the Real Time controller for your fieldpoint but the network controller only. 
    If your application requires more reliability, and/or greater determinism than can be achieved by running a program on windows, then you should use the LabVIEW Real Time module and develop a program that can run down on the FieldPoint controller independent of windows.
    Message Edited by StevenA on 07-22-2008 04:14 PM
    SteveA
    CLD
    FPGA/RT/PDA/TP/DSC
    Attachments:
    fp pallet.PNG ‏6 KB

  • Compact field point compatability with Labview7

    I want to puchase a Compact Field point but need to confirm that it is compatiable with Lab view 7.0

    It depends:
    1) Are you using LabVIEW RT?  Or will your LabVIEW 7.0 application run on a PC? 
    If you are planning on using LabVIEW Real-Time 7.0, then you cannot use the cFP-21x0 controllers.  cFP-21x0 controllers support LV RT 7.1 and higher.  If you are using a [c]FP-20x0 controller, then you are OK because they are compatible with LabVIEW 7.0. 
    If you intend to run your application on the PC and use a cFP-180x network interface (or if you use a cFP-20x0, cFP-21x0 controller as a network interface), then you can use LabVIEW 7.0.
    2) NOTE: You will need to download FieldPoint 5.0 drivers (or older) from ni.com to get
    LabVIEW 7.0 support.  The latest FieldPoint driver installer
    (FieldPoint 5.0.1) that ships with the hardware installs support
    for LabVIEW 7.1 and higher.
    -Tommy

Maybe you are looking for

  • Comcast connection.watching TV through 2012 IMAC 27, is that possible?

    Would like to know what is required to connect to Comcast cable connector, currently have a cable wire to the computer , but DVR is in another room. Any help would be appreciated. thanks.

  • Safari to PDF

    Hi I'm trying to move a document from safari to PDF but can't seem to see the " open in" icon .pls help!!

  • Idvd 16:9 issue

    Hi All: Okay, I've been shooting in HD 16:9 and using the Sony's HDV DV down conversion to import into FCP HD in SD 16:9. I've exported as Quicktime movie in both NTSC 48 format and NTSC 48 anamorphic. Once in idvd, I choose the 16:9 format and when

  • Speech Recognition Not Working. Why?

    I have a 6-month old Macbook (OSX 10.5.5), and I want to try out the built in speech recognition software. For some reason, it won't accept any input, no matter the configuration I put it in. When I click calibrate, it's slow to open, and no matter w

  • How to use the noop scheduler on two SSDs in software RAID mode?

    Hi all, I have two SSDs in RAID0 via motherboard ("fake") raid. They're mapped using dm-raid. The root device is /dev/dm-3 According to: https://wiki.archlinux.org/index.php/Solid_State_Drives, you can do `echo noop >/sys/block/sdX/queue/scheduler`,