Difference between revisions of "Component: Visi (4DSystems) (Comms: System)"
From Flowcode Help
Jump to navigationJump to searchLine 52: | Line 52: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
+ | |||
+ | |||
Line 57: | Line 59: | ||
==Macro reference== | ==Macro reference== | ||
+ | ===VisiWriteString=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 80: | Line 83: | ||
+ | ===VisiWriteObject=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 108: | Line 112: | ||
+ | ===ChangeHWBaud=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 126: | Line 131: | ||
+ | ===VisiReceive=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 139: | Line 145: | ||
+ | ===VisiWriteContrast=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 157: | Line 164: | ||
+ | ===VisiWriteVolume=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 175: | Line 183: | ||
+ | ===VisiReadByteFromMessage=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 193: | Line 202: | ||
+ | ===VisiReadObject=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 216: | Line 226: | ||
+ | ===Initialise=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- |
Revision as of 11:48, 3 February 2023
Author | Matrix Ltd. |
Version | 2.0 |
Category | Comms: System |
Contents
Visi (4DSystems) component
A way of interacting with the VISI interface designed by 4D systems. VISI firmware must be pre-loaded onto the SD card connected to the display to allow everything to work correctly.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_API_Display_Visi4D.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_API_Display_Visi4D.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
VisiWriteString
![]() |
VisiWriteString |
Writes a string to a specific Visi object. Returns 0 for a succesful write operation. | |
![]() |
StringIndex |
![]() |
StringData |
![]() |
Return |
VisiWriteObject
![]() |
VisiWriteObject |
Writes a value to a specific Visi object. Returns 0 for a succesful write operation. | |
![]() |
ObjectID |
![]() |
ObjectIndex |
![]() |
Value |
![]() |
Return |
ChangeHWBaud
![]() |
ChangeHWBaud |
Changes the hardware UART baud rate allowing for dynamic speed changes. | |
![]() |
NewBaud |
0=1200, 1=2400, 2=4800, 3=9600, 4=19200, 5=38400, 6=57600, 7=115200 | |
![]() |
Return |
VisiReceive
VisiWriteContrast
![]() |
VisiWriteContrast |
Updates the display contrast. Returns 0 for a succesful write operation. | |
![]() |
Contrast |
Range 0-15, 0=Backlight Off | |
![]() |
Return |
VisiWriteVolume
![]() |
VisiWriteVolume |
Updates the display volume. Returns 0 for a succesful write operation. | |
![]() |
Volume |
Range 8-127 | |
![]() |
Return |
VisiReadByteFromMessage
![]() |
VisiReadByteFromMessage |
Reads a byte from a succesful VisiReceive macro. Index: 0=Command, 1=ObjectID, 2=ObjectIndex, 3=ValueMSB, 4=ValueLSB | |
![]() |
Index |
![]() |
Return |
VisiReadObject
Initialise
![]() |
Initialise |
Sets up the RS232 peripheral, must be called at the start of your program or at least before you start calling any other RS232 macros. | |
![]() |
Return |